diff --git a/synapse/config/emailconfig.py b/synapse/config/emailconfig.py index 88d6ba2b5f..5b1de9c826 100644 --- a/synapse/config/emailconfig.py +++ b/synapse/config/emailconfig.py @@ -123,8 +123,8 @@ class EmailConfig(Config): if (len(missing) > 0): raise RuntimeError( "email.password_reset_behaviour is set to 'local' " - "but required keys are missing: %s email config: %s" % - (", ".join(["email." + k for k in missing]), email_config) + "but required keys are missing: %s" % + (", ".join(["email." + k for k in missing]),) ) # Templates for password reset emails