forked from mirrors/bookwyrm
python formatting
This commit is contained in:
parent
aa91361fe4
commit
e608d8b8ad
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ from __future__ import absolute_import, unicode_literals
|
|||
import os
|
||||
|
||||
from celery import Celery
|
||||
from . import settings # pylint: disable=unused-import
|
||||
from . import settings # pylint: disable=unused-import
|
||||
|
||||
|
||||
# set the default Django settings module for the 'celery' program.
|
||||
|
|
|
@ -10,7 +10,7 @@ CELERY_RESULT_BACKEND = "redis://:{}@redis_broker:{}/0".format(
|
|||
requests.utils.quote(env("REDIS_BROKER_PASSWORD", "")), env("REDIS_BROKER_PORT")
|
||||
)
|
||||
|
||||
CELERY_DEFAULT_QUEUE="low_priority"
|
||||
CELERY_DEFAULT_QUEUE = "low_priority"
|
||||
|
||||
CELERY_ACCEPT_CONTENT = ["json"]
|
||||
CELERY_TASK_SERIALIZER = "json"
|
||||
|
|
Loading…
Reference in a new issue