Merge branch 'master' of https://gitea.star-rising.cn/xkrs_manan/RODY
This commit is contained in:
commit
9ddc14e242
@ -7,6 +7,7 @@ from typing import List, Dict, Union
|
|||||||
from flask import Flask, request
|
from flask import Flask, request
|
||||||
from flask.helpers import get_env
|
from flask.helpers import get_env
|
||||||
from flask_sockets import Sockets
|
from flask_sockets import Sockets
|
||||||
|
from app.configs.global_var import _init
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append("/mnt/sdc/algorithm/R-ODY")
|
sys.path.append("/mnt/sdc/algorithm/R-ODY")
|
||||||
@ -80,6 +81,7 @@ def create_app():
|
|||||||
register_blueprints(app)
|
register_blueprints(app)
|
||||||
register_error_handler(app)
|
register_error_handler(app)
|
||||||
db.create_all()
|
db.create_all()
|
||||||
|
_init()
|
||||||
register_cmds(app)
|
register_cmds(app)
|
||||||
register_log(app)
|
register_log(app)
|
||||||
register_redis(app)
|
register_redis(app)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user