From a007f1436751ade0ba90bc8dfcdd5bfb83adace6 Mon Sep 17 00:00:00 2001 From: Nico Zanferrari Date: Tue, 23 Jul 2024 18:55:24 +0200 Subject: [PATCH] Remove duplicated 'gunicorn' server option Before this, the 'run command' help shows 'guinicorn' two times: -s, --server [default|wsgiref|tornado|gunicorn|gevent|waitress|gunicorn|gunicornGevent|gevent| geventWebSocketServer|geventWs|wsgirefThreadingServer|wsgiTh|rocketServer] --- py4web/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py4web/core.py b/py4web/core.py index 8ec2c9d9..0f4c96ba 100644 --- a/py4web/core.py +++ b/py4web/core.py @@ -2089,7 +2089,7 @@ def new_app(apps_folder, app_name, yes, scaffold_zip): "--server", default="default", type=click.Choice( - ["default", "wsgiref", "tornado", "gunicorn", "gevent", "waitress"] + ["default", "wsgiref", "tornado", "gevent", "waitress"] + server_adapters.__all__ ), help="Web server to use",