Skip to content

Commit

Permalink
Add comment about non-interpolated config options
Browse files Browse the repository at this point in the history
  • Loading branch information
Azrenbeth authored and Azrenbeth committed Sep 20, 2021
1 parent 62909c4 commit 2526e86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sydent/config/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 2526e86

Please sign in to comment.