diff --git a/src/tv.py b/src/tv.py index 4f3cda2..fdac162 100644 --- a/src/tv.py +++ b/src/tv.py @@ -10,6 +10,8 @@ app = Flask(__name__) app.config.from_object(config) +app.app_context().push() + db = SQLAlchemy(app) db.create_all()