settings: THEME_CONTACT_EMAIL defaults to DEFAULT_FROM_EMAIL.

This commit is contained in:
Brett Smith 2018-10-10 12:00:12 -04:00
parent 1aa1daf3f6
commit f60f3e4ff2

View file

@ -32,7 +32,7 @@ if from_email is not None:
DEFAULT_FROM_EMAIL = from_email
SERVER_EMAIL = DEFAULT_FROM_EMAIL
THEME_CONTACT_EMAIL = os.environ.get("THEME_CONTACT_EMAIL", None)
THEME_CONTACT_EMAIL = os.environ.get("THEME_CONTACT_EMAIL", from_email)
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name