python formatting

This commit is contained in:
Mouse Reeve 2021-09-07 17:11:32 -07:00
parent aa91361fe4
commit e608d8b8ad
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ from __future__ import absolute_import, unicode_literals
import os import os
from celery import Celery 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. # set the default Django settings module for the 'celery' program.

View file

@ -10,7 +10,7 @@ CELERY_RESULT_BACKEND = "redis://:{}@redis_broker:{}/0".format(
requests.utils.quote(env("REDIS_BROKER_PASSWORD", "")), env("REDIS_BROKER_PORT") 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_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json" CELERY_TASK_SERIALIZER = "json"