Skip to content

Commit cfb8e47

Browse files
committed
229: add back flask app initializer
1 parent 6fb4e67 commit cfb8e47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/PyMatcha/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
if os.getenv("ENABLE_LOGGING") == "True":
6060
setup_logging()
6161

62+
application = Flask(__name__)
63+
6264
if os.getenv("FLASK_DEBUG", "false") == "true" or os.getenv("FLASK_DEBUG", "false") == "1":
6365
application.debug = True
6466
else:

0 commit comments

Comments
 (0)