From: Guillaume Pellerin Date: Mon, 26 Jan 2026 21:33:57 +0000 (+0100) Subject: fix users list X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e6b2a67eec8c5a8ee4748443be9427b35a2bc220;p=teleforma.git fix users list --- diff --git a/teleforma/management/commands/teleforma-get-same-scripts.py b/teleforma/management/commands/teleforma-get-same-scripts.py index 8c3ee23b..1020823d 100644 --- a/teleforma/management/commands/teleforma-get-same-scripts.py +++ b/teleforma/management/commands/teleforma-get-same-scripts.py @@ -24,7 +24,7 @@ class Command(BaseCommand): if not s in scripts: scripts.append(s) if not s.author in users: - users.append(s.author.username) + users.append(s.author) group = StudentGroup(name=group_name) group.save() for u in users: