From 70713fe02c889a89c13e26066c578fadb2c081e7 Mon Sep 17 00:00:00 2001 From: Jan Koppe Date: Thu, 23 Apr 2020 20:21:56 +0200 Subject: [PATCH] fix lint errors --- portier/settings.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/portier/settings.py b/portier/settings.py index 90a2416..7357278 100644 --- a/portier/settings.py +++ b/portier/settings.py @@ -127,8 +127,10 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') # Celery -CELERY_BROKER_URL = "redis://{}:{}".format(os.environ.get('REDIS_HOST', default='redis'), os.environ.get('REDIS_PORT', default=6379)) -CELERY_RESULT_BACKEND = "redis://{}:{}".format(os.environ.get('REDIS_HOST', default='redis'), os.environ.get('REDIS_PORT', default=6379)) +CELERY_BROKER_URL = "redis://{}:{}".format(os.environ.get('REDIS_HOST', default='redis'), + os.environ.get('REDIS_PORT', default=6379)) +CELERY_RESULT_BACKEND = "redis://{}:{}".format(os.environ.get('REDIS_HOST', default='redis'), + os.environ.get('REDIS_PORT', default=6379)) CELERY_ACCEPT_CONTENT = ['application/json'] CELERY_RESULT_SERIALIZER = 'json' CELERY_TASK_SERIALIZER = 'json'