From: Guillaume Pellerin Date: Tue, 5 Mar 2024 09:53:32 +0000 (+0100) Subject: bugfix X-Git-Tag: 1.9.0-tc~16 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a8ba485a21ee528e3ec8832fd4dc4265ccd9fe08;p=teleforma.git bugfix --- diff --git a/teleforma/management/commands/teleforma-add-department.py b/teleforma/management/commands/teleforma-add-department.py index 94be474a..2e47133f 100644 --- a/teleforma/management/commands/teleforma-add-department.py +++ b/teleforma/management/commands/teleforma-add-department.py @@ -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(