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

index ff686e165bcc7615ed635348d25e07b2297d4ae0..02fdd5640ed81120652da8aa0e653c46a98eea2d 100644 (file)
@@ -20,5 +20,6 @@ class Command(BaseCommand):
             sss = ss.filter(file=script.file)
             for s in sss:
                 scripts.append(s)
-                users.append(s.author.username)
+                if not s.author in users:
+                    users.append(s.author.username)
         print(users)