Converting single quotes to double to stay consistent
This commit is contained in:
parent
ec2a9c8c8f
commit
ce279de7c3
1 changed files with 3 additions and 3 deletions
|
|
@ -1426,9 +1426,9 @@ def create_superuser():
|
||||||
from os import environ
|
from os import environ
|
||||||
if ("EVENNIA_SUPERUSER_USERNAME" in environ) and ("EVENNIA_SUPERUSER_PASSWORD" in environ):
|
if ("EVENNIA_SUPERUSER_USERNAME" in environ) and ("EVENNIA_SUPERUSER_PASSWORD" in environ):
|
||||||
from evennia.accounts.models import AccountDB
|
from evennia.accounts.models import AccountDB
|
||||||
superuser = AccountDB.objects.create_superuser(os.environ.get('EVENNIA_SUPERUSER_USERNAME'),
|
superuser = AccountDB.objects.create_superuser(os.environ.get("EVENNIA_SUPERUSER_USERNAME"),
|
||||||
os.environ.get('EVENNIA_SUPERUSER_EMAIL'),
|
os.environ.get("EVENNIA_SUPERUSER_EMAIL"),
|
||||||
os.environ.get('EVENNIA_SUPERUSER_PASSWORD'))
|
os.environ.get("EVENNIA_SUPERUSER_PASSWORD"))
|
||||||
superuser.save()
|
superuser.save()
|
||||||
else:
|
else:
|
||||||
django.core.management.call_command("createsuperuser", interactive=True)
|
django.core.management.call_command("createsuperuser", interactive=True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue