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