]> git.parisson.com Git - teleforma.git/commitdiff
fix users list dev master
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 26 Jan 2026 21:33:57 +0000 (22:33 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 26 Jan 2026 21:33:57 +0000 (22:33 +0100)
teleforma/management/commands/teleforma-get-same-scripts.py

index 8c3ee23bbc2d92b8efd4523f450b107ae8950969..1020823d43a9417b226902bdb919bbd67ddf84fd 100644 (file)
@@ -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: