From 2526e86dce881129ec52f19d18bbeb58844e4feb Mon Sep 17 00:00:00 2001 From: Azrenbeth <7782548+Azrenbeth@users.noreply.github.com> Date: Mon, 20 Sep 2021 09:51:30 +0100 Subject: [PATCH] Add comment about non-interpolated config options --- sydent/config/email.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sydent/config/email.py b/sydent/config/email.py index 0b86a83f..b3567132 100644 --- a/sydent/config/email.py +++ b/sydent/config/email.py @@ -35,6 +35,8 @@ def parse_config(self, cfg: CONFIG_PARSER_DICT) -> bool: # This isn't used anywhere... self.validation_subject = config.get("email.subject") + # Interpolation is turned off for these two options + # This allows them to use %(variable)s substitution without raising errors self.invite_subject = config.get("email.invite.subject") self.invite_subject_space = config.get("email.invite.subject_space")