env bugfix

This commit is contained in:
crflynn
2018-04-22 18:58:46 -04:00
parent 639a1febc2
commit 5161e5cd09
5 changed files with 12 additions and 7 deletions

View File

@@ -22,7 +22,6 @@ def create_app(config_object=DevConfig):
def create_celery(app):
"""Create a celery object."""
celery = Celery(app.import_name, broker=app.config["CELERY_BROKER_URL"])
celery.conf.update(app.config)
celery.config_from_object(app.config)
class ContextTask(Task):