summary refs log tree commit diff
path: root/synapse/config/account_validity.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/account_validity.py')
-rw-r--r--synapse/config/account_validity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/account_validity.py b/synapse/config/account_validity.py
index 6be4eafe55..9acce5996e 100644
--- a/synapse/config/account_validity.py
+++ b/synapse/config/account_validity.py
@@ -88,5 +88,5 @@ class AccountValidityConfig(Config):
                 "account_previously_renewed.html",
                 invalid_token_template_filename,
             ],
-            account_validity_template_dir,
+            (td for td in (account_validity_template_dir,) if td),
         )