From e6514f8061835ba552376fc148d9560f1d8c5061 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Fri, 15 Sep 2017 13:10:11 +0200 Subject: [PATCH] Refactored DCL_ERROR_EMAILS_TO_ADDRESS to DCL_ERROR_EMAILS_TO --- dynamicweb/settings/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dynamicweb/settings/base.py b/dynamicweb/settings/base.py index a7aa6350..dc2917ea 100644 --- a/dynamicweb/settings/base.py +++ b/dynamicweb/settings/base.py @@ -563,12 +563,12 @@ CELERY_RESULT_SERIALIZER = 'json' # CELERY_TIMEZONE = 'Europe/Zurich' CELERY_MAX_RETRIES = int_env('CELERY_MAX_RETRIES', 5) -DCL_ERROR_EMAILS_TO = env('DCL_ERROR_EMAILS_TO_ADDRESS') +DCL_ERROR_EMAILS_TO = env('DCL_ERROR_EMAILS_TO') DCL_ERROR_EMAILS_TO_LIST = [] if DCL_ERROR_EMAILS_TO is not None: - DCL_ERROR_EMAILS_TO_ADDRESS_LIST = [x.strip() for x in - DCL_ERROR_EMAILS_TO.split( + DCL_ERROR_EMAILS_TO_LIST = [x.strip() for x in + DCL_ERROR_EMAILS_TO.split( ',')] \ if "," in DCL_ERROR_EMAILS_TO else [DCL_ERROR_EMAILS_TO.strip()]