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

index 21d479cd6bd7e7f91a221af1957a1b296c297c89..a97429d097dbcf84d25c243c6f08ebe36fde6f67 100644 (file)
@@ -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)