Default enable email notifs to False

This commit is contained in:
David Baker 2016-04-29 14:46:18 +01:00
parent ff5e5423e5
commit 765f2b8446

View File

@ -24,7 +24,7 @@ class EmailConfig(Config):
self.email_enable_notifs = False self.email_enable_notifs = False
email_config = config.get("email", {}) email_config = config.get("email", {})
self.email_enable_notifs = email_config.get("enable_notifs", True) self.email_enable_notifs = email_config.get("enable_notifs", False)
if self.email_enable_notifs: if self.email_enable_notifs:
required = [ required = [