]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Tue, 5 Mar 2024 09:53:32 +0000 (10:53 +0100)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Tue, 5 Mar 2024 09:53:32 +0000 (10:53 +0100)
teleforma/management/commands/teleforma-add-department.py

index 94be474a670d00b61266c2deac9c33ab61d6e700..2e47133f1d3926c2d8f0cfc52d25c0bc36823dfc 100644 (file)
@@ -17,7 +17,7 @@ class Command(BaseCommand):
     def handle(self, *args, **options):
         organization_name = args[0]
         name = args[1]
-        domain = arg[2]
+        domain = args[2]
 
         organization = Organization.objects.get(name=organization_name)
         department = Department.objects.get_or_create(