mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 04:57:16 +02:00
Converting single quotes to double to stay consistent
This commit is contained in:
parent
ddbbf8b5c5
commit
f383a83a4d
1 changed files with 3 additions and 3 deletions
|
|
@ -1426,9 +1426,9 @@ def create_superuser():
|
|||
from os import environ
|
||||
if ("EVENNIA_SUPERUSER_USERNAME" in environ) and ("EVENNIA_SUPERUSER_PASSWORD" in environ):
|
||||
from evennia.accounts.models import AccountDB
|
||||
superuser = AccountDB.objects.create_superuser(os.environ.get('EVENNIA_SUPERUSER_USERNAME'),
|
||||
os.environ.get('EVENNIA_SUPERUSER_EMAIL'),
|
||||
os.environ.get('EVENNIA_SUPERUSER_PASSWORD'))
|
||||
superuser = AccountDB.objects.create_superuser(os.environ.get("EVENNIA_SUPERUSER_USERNAME"),
|
||||
os.environ.get("EVENNIA_SUPERUSER_EMAIL"),
|
||||
os.environ.get("EVENNIA_SUPERUSER_PASSWORD"))
|
||||
superuser.save()
|
||||
else:
|
||||
django.core.management.call_command("createsuperuser", interactive=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue