Skip to content

Commit d2334ad

Browse files
committed
Added app back
1 parent 33fe3a8 commit d2334ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/PyMatcha/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
from dotenv import load_dotenv
2626
from flask import Flask
2727
from flask import jsonify
28-
from flask import send_from_directory
2928
from flask_cors import CORS
3029
from flask_jwt_extended import JWTManager
3130
from flask_mail import Mail
@@ -59,6 +58,8 @@
5958
if os.getenv("ENABLE_LOGGING") == "True":
6059
setup_logging()
6160

61+
application = Flask(__name__)
62+
6263
if os.getenv("FLASK_DEBUG", "false") == "true" or os.getenv("FLASK_DEBUG", "false") == "1":
6364
application.debug = True
6465
else:

0 commit comments

Comments
 (0)