代码拉取完成,页面将自动刷新
#!/usr/bin/env python
"""
flaskbb.celery_worker
~~~~~~~~~~~~~~~~~~~~~
Prepares the celery app for the celery worker.
To start celery, enter this in the console::
celery -A celery_worker.celery --loglevel=info worker
:copyright: (c) 2016 by the FlaskBB Team.
:license: BSD, see LICENSE for more details.
"""
import os
from flaskbb.app import create_app
from flaskbb.extensions import celery # noqa
_basepath = os.path.dirname(os.path.abspath(__file__))
app = create_app(config=os.path.join(_basepath, 'flaskbb.cfg'))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。