diff --git a/raptorWeb/authprofiles/management/commands/createSuper.py b/raptorWeb/authprofiles/management/commands/createSuper.py index e47cc7a5..c994a900 100644 --- a/raptorWeb/authprofiles/management/commands/createSuper.py +++ b/raptorWeb/authprofiles/management/commands/createSuper.py @@ -10,7 +10,7 @@ class Command(BaseCommand): def handle(self, *args, **options): if RaptorUser.objects.count() == 0: - default_admin = ADMINS[0] + default_admin = ADMINS[0][0] admin_info = UserProfileInfo.objects.create() admin_info.save() username = default_admin[0].replace(' ', '')