漏了一个import[CI SKIP]

This commit is contained in:
lsxwxs 2015-09-02 22:59:43 +08:00
parent 668f0d53c2
commit eb376c49fc

View File

@ -1,9 +1,9 @@
# coding=utf-8
from __future__ import absolute_import
from celery import Celery
from celery import Celery, platforms
from .settings import redis_config
app = Celery("judge", broker='redis://%s:%s/%s' % (redis_config["host"], redis_config["port"], redis_config["db"]),
include=["judge.judger_controller.tasks"])
platforms.C_FORCE_ROOT =True
platforms.C_FORCE_ROOT =True