diff --git a/app/passenger_wsgi.py b/app/passenger_wsgi.py index e2a2ec5..7fe947b 100644 --- a/app/passenger_wsgi.py +++ b/app/passenger_wsgi.py @@ -9,9 +9,7 @@ if sys.executable != INTERP: os.execl(INTERP, INTERP, *sys.argv) sys.path.append(os.getcwd()) -from app import create_app - -application = create_app().app +from app import app as application # For running on the server with passenger etc if __name__ == "__main__":