1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-24 16:32:22 +00:00

Update extract_ml_registrations.py

This commit is contained in:
thomasl 2024-06-04 00:16:36 +02:00
parent 6149f11e53
commit 472c9c33ce

View File

@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay
# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
from datetime import date
@ -57,7 +57,7 @@ class Command(BaseCommand):
for user in User.objects.filter(profile__ml_art_registration=True).all():
self.stdout.write(user.email)
nb+=1
self.stdout.write(nb)
self.stdout.write(str(nb))
return
if options["type"] == "sport":