From: Guillaume Pellerin Date: Mon, 26 Jan 2026 21:17:00 +0000 (+0100) Subject: test users X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=220b434e75cf7d7ce9f933b676223602e32cf8d3;p=teleforma.git test users --- diff --git a/teleforma/management/commands/teleforma-get-same-scripts.py b/teleforma/management/commands/teleforma-get-same-scripts.py index ff686e16..02fdd564 100644 --- a/teleforma/management/commands/teleforma-get-same-scripts.py +++ b/teleforma/management/commands/teleforma-get-same-scripts.py @@ -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)