From 00411cef6110d8d449f8fb22d3290413a2d2ecb4 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Tue, 11 Aug 2020 16:20:01 +0200 Subject: [PATCH] reduce further --- server.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server.py b/server.py index ff2a40f3..63c57555 100644 --- a/server.py +++ b/server.py @@ -86,9 +86,7 @@ def create_light_app() -> Flask: app.config["SQLALCHEMY_DATABASE_URI"] = DB_URI app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False - app.secret_key = FLASK_SECRET - - init_extensions(app) + db.init_app(app) return app