Update extract_ml_registrations.py
This commit is contained in:
parent
6149f11e53
commit
472c9c33ce
|
@ -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
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
from datetime import date
|
from datetime import date
|
||||||
|
@ -57,7 +57,7 @@ class Command(BaseCommand):
|
||||||
for user in User.objects.filter(profile__ml_art_registration=True).all():
|
for user in User.objects.filter(profile__ml_art_registration=True).all():
|
||||||
self.stdout.write(user.email)
|
self.stdout.write(user.email)
|
||||||
nb+=1
|
nb+=1
|
||||||
self.stdout.write(nb)
|
self.stdout.write(str(nb))
|
||||||
return
|
return
|
||||||
|
|
||||||
if options["type"] == "sport":
|
if options["type"] == "sport":
|
||||||
|
|
Loading…
Reference in New Issue