提交 ecff6c74 编写于 作者: 魔箭胖胖's avatar 魔箭胖胖 提交者: Gitee

update packageship/packageship/application/__init__.py.

上级 40bdb064
......@@ -47,11 +47,11 @@ def init_app(operation):
app = Flask(__name__)
# log configuration
setup_log(Config)
app.logger.addHandler(setup_log(Config))
# Load configuration items
app.config.from_object(Config)
app.config.from_object(Config())
# Register a scheduled task
scheduler = APScheduler()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册