From 472c9c33cea3a9c277033f2108fd81304fb62097 Mon Sep 17 00:00:00 2001 From: thomasl Date: Tue, 4 Jun 2024 00:16:36 +0200 Subject: [PATCH] Update extract_ml_registrations.py --- management/commands/extract_ml_registrations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/management/commands/extract_ml_registrations.py b/management/commands/extract_ml_registrations.py index 8d05629..c98f48f 100644 --- a/management/commands/extract_ml_registrations.py +++ b/management/commands/extract_ml_registrations.py @@ -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":