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()