From 99a5924ea8150ec04a50448416e5da5850c39a33 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 5 Jan 2022 17:36:52 -0800 Subject: [PATCH] Not bool --- bookwyrm/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/settings.py b/bookwyrm/settings.py index d7f4a505..7bf710ed 100644 --- a/bookwyrm/settings.py +++ b/bookwyrm/settings.py @@ -24,8 +24,8 @@ EMAIL_HOST_USER = env("EMAIL_HOST_USER") EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD") EMAIL_USE_TLS = env.bool("EMAIL_USE_TLS", True) EMAIL_USE_SSL = env.bool("EMAIL_USE_SSL", False) -EMAIL_SENDER_NAME = env.bool("EMAIL_SENDER_NAME", "admin") -EMAIL_SENDER_DOMAIN = env.bool("EMAIL_SENDER_NAME", DOMAIN) +EMAIL_SENDER_NAME = env("EMAIL_SENDER_NAME", "admin") +EMAIL_SENDER_DOMAIN = env("EMAIL_SENDER_NAME", DOMAIN) EMAIL_SENDER = f"{EMAIL_SENDER_NAME}@{EMAIL_SENDER_DOMAIN}" # Build paths inside the project like this: os.path.join(BASE_DIR, ...)