summaryrefslogtreecommitdiff
path: root/src/mailman/config/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/config/config.py')
-rw-r--r--src/mailman/config/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mailman/config/config.py b/src/mailman/config/config.py
index acddd1089..e7d8b6b17 100644
--- a/src/mailman/config/config.py
+++ b/src/mailman/config/config.py
@@ -110,7 +110,9 @@ class Configuration:
# configuration filename was given by the user, push it.
config_file = resource_filename('mailman.config', 'mailman.cfg')
self._config = schema.load(config_file)
- if filename is not None:
+ if filename is None:
+ self._post_process()
+ else:
self.filename = filename
with open(filename, 'r', encoding='utf-8') as user_config:
self.push(filename, user_config.read())