Now working
This commit is contained in:
+3
-2
@@ -33,9 +33,10 @@ app.config["MAX_CONTENT_LENGTH"] = int(
|
||||
)
|
||||
RESULT_FOLDER.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
db.init_app(app)
|
||||
init_db(app)
|
||||
with app.app_context():
|
||||
init_db(app)
|
||||
|
||||
redis_conn = Redis(host="redis", port=6379)
|
||||
queue = Queue(connection=redis_conn)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user