Move Gunicorn run file to setup

This commit is contained in:
Michał Gdula 2023-03-12 15:08:49 +00:00
parent 7ef4a1dd91
commit 79db45f7a2
4 changed files with 30 additions and 32 deletions

View file

@ -109,16 +109,14 @@ class Configuration:
continue
# Check if user is happy with the values
_ = input("Is this correct? (y/n): ")
if _ == 'y' or _ == 'Y':
if input("Is this correct? (y/n): ").lower() == 'y':
is_correct = True
yaml_conf = {
'admin': {
'name': '%s' % name,
'username': '%s' % username,
'email': '%s' % email,
'name': name,
'username': username,
'email': email,
},
'upload': {
'allowed-extensions': {