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

@ -6,7 +6,7 @@ Startup arguments for the OnlyLegs gallery
-w, --workers: Number of workers to run (default: 4)
-d, --debug: Run as Flask app in debug mode (default: False)
-V, --verbose: Show verbose output (default: False)
-S, --scream: Show verbose output (default: False)
-h, --help: Show a help message
"""
@ -18,7 +18,6 @@ parser.add_argument('-p', '--port', type=int, default=5000, help='Port to run on
parser.add_argument('-a', '--address', type=str, default='0.0.0.0', help='Address to run on')
parser.add_argument('-w', '--workers', type=int, default=4, help='Number of workers to run')
parser.add_argument('-d', '--debug', action='store_true', help='Run as Flask app in debug mode')
parser.add_argument('-V', '--verbose', action='store_true', help='Show verbose output')
args = parser.parse_args()
@ -26,5 +25,4 @@ PORT = args.port
ADDRESS = args.address
WORKERS = args.workers
DEBUG = args.debug
VERBOSE = args.verbose
DEBUG = args.debug