oopsie, typo in setup file

This commit is contained in:
Michał Gdula 2023-03-12 00:04:58 +00:00
parent e5848eecf5
commit 800ba38241

View file

@ -58,7 +58,7 @@ class SetupApp:
Create the .env file with default values Create the .env file with default values
""" """
env_conf = { env_conf = {
'FLASK_SECRETE': 'dev', 'FLASK_SECRET': 'dev',
} }
try: try:
with open(os.path.join(USER_DIR, '.env'), encoding='utf-8', mode='w+') as file: with open(os.path.join(USER_DIR, '.env'), encoding='utf-8', mode='w+') as file:
@ -96,11 +96,7 @@ class SetupApp:
'name': 'OnlyLegs', 'name': 'OnlyLegs',
'motto': 'Gwa Gwa', 'motto': 'Gwa Gwa',
'language': 'english' 'language': 'english'
}, }
'server': {
'host': '0.0.0.0',
'port': 5000
},
} }
try: try:
with open(os.path.join(USER_DIR, 'conf.yml'), encoding='utf-8', mode='w+') as file: with open(os.path.join(USER_DIR, 'conf.yml'), encoding='utf-8', mode='w+') as file: