From e6b2a67eec8c5a8ee4748443be9427b35a2bc220 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 26 Jan 2026 22:33:57 +0100 Subject: [PATCH] fix users list --- teleforma/management/commands/teleforma-get-same-scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5