Remove Verbose option temporarilly

Gunicorn is really not happy with anything I try and parse through it
This commit is contained in:
Michał Gdula 2023-03-12 13:12:38 +00:00
parent 2eec988815
commit dea3cca4a6
5 changed files with 28 additions and 36 deletions

View file

@ -17,12 +17,11 @@ class Configuration:
"""
Setup the application on first run
"""
def __init__(self, verbose=False):
def __init__(self):
"""
Main setup function
"""
if verbose:
print("Running startup checks...")
print("Running startup checks...")
# Check if the user directory exists
if not os.path.exists(USER_DIR):
@ -71,11 +70,11 @@ class Configuration:
sys.exit(1)
print("""
####################################################
# PLEASE NOTE DOWN THE FLASK_SECRET KEY LOCARED IN #
# YOUR .config/onlylegs/.env FILE! A NEW KEY WAS #
# GENERATED FOR YOU! #
####################################################
####################################################
# PLEASE NOTE DOWN THE FLASK_SECRET KEY LOCARED IN #
# YOUR .config/onlylegs/.env FILE! A NEW KEY WAS #
# GENERATED FOR YOU! #
####################################################
""")
@staticmethod