From fec9d660c3261dc8342f5e9b63c47bce5451e175 Mon Sep 17 00:00:00 2001 From: mcbloch Date: Mon, 2 May 2022 18:21:27 +0200 Subject: [PATCH] Fix wsgi startup script for real --- app/passenger_wsgi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/passenger_wsgi.py b/app/passenger_wsgi.py index 79a8a72..35d8c99 100644 --- a/app/passenger_wsgi.py +++ b/app/passenger_wsgi.py @@ -20,7 +20,8 @@ sys.path.append(os.getcwd()) # and the WSGI object to be called `application` from app import create_app +application = create_app() + # For running on the server with passenger etc if __name__ == "__main__": - application = create_app() application.run()