From 47c8dca406687ceed5daf25b3a31b7b5cd9dee98 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 26 Jan 2026 22:14:23 +0100 Subject: [PATCH] add args --- teleforma/management/commands/teleforma-get-same-scripts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teleforma/management/commands/teleforma-get-same-scripts.py b/teleforma/management/commands/teleforma-get-same-scripts.py index 21d479cd..a97429d0 100644 --- a/teleforma/management/commands/teleforma-get-same-scripts.py +++ b/teleforma/management/commands/teleforma-get-same-scripts.py @@ -7,6 +7,9 @@ from datetime import datetime, timedelta class Command(BaseCommand): help = "Get all users having uploaded the same script filename" + def add_arguments(self, parser): + parser.add_argument('args', nargs='*') + def handle(self, *args, **options): name = args[0] period = Period.objects.get(name=name) -- 2.39.5