From dcbe2bfc5181b18d99857b6d0528619176085228 Mon Sep 17 00:00:00 2001 From: michplunkett <5885605+michplunkett@users.noreply.github.com> Date: Thu, 3 Aug 2023 13:50:00 -0500 Subject: [PATCH] Update config.py --- OpenOversight/app/models/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenOversight/app/models/config.py b/OpenOversight/app/models/config.py index 3ea9ecade..ac58a7518 100644 --- a/OpenOversight/app/models/config.py +++ b/OpenOversight/app/models/config.py @@ -7,6 +7,7 @@ KEY_ENV_PROD, KEY_ENV_TESTING, KEY_OFFICERS_PER_PAGE, + KEY_OO_MAIL_SUBJECT_PREFIX, KEY_TIMEZONE, MEGABYTE, ) @@ -44,7 +45,7 @@ def __init__(self): # Mail Settings self.OO_MAIL_SUBJECT_PREFIX = os.environ.get( - "OO_MAIL_SUBJECT_PREFIX", "[OpenOversight]" + KEY_OO_MAIL_SUBJECT_PREFIX, "[OpenOversight]" ) self.OO_SERVICE_EMAIL = os.environ.get("OO_SERVICE_EMAIL") # TODO: Remove the default once we are able to update the production .env file