From e6db0615009cfe4dc8aff4846e1ad944dc527cbe Mon Sep 17 00:00:00 2001 From: Xevion Date: Mon, 28 Mar 2022 17:27:16 -0500 Subject: [PATCH] Fix Gunicorn not finding app in app.py due to __name__ check --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 75a56c9..2619508 100644 --- a/app.py +++ b/app.py @@ -120,6 +120,6 @@ def create_app(): # Only used for Heroku; use 'flask run' or internal IDE configurations otherwise +app = create_app() if __name__ == '__main__': - app = create_app() app.run()