summaryrefslogtreecommitdiff
path: root/src/mailman/Utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/Utils.py')
-rw-r--r--src/mailman/Utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/Utils.py b/src/mailman/Utils.py
index a58ed1d24..a26025fa3 100644
--- a/src/mailman/Utils.py
+++ b/src/mailman/Utils.py
@@ -210,9 +210,9 @@ def findtext(templatefile, raw_dict=None, raw=False, lang=None, mlist=None):
searchdirs = []
if mlist is not None:
searchdirs.append(mlist.data_path)
- searchdirs.append(os.path.join(TEMPLATE_DIR, mlist.host_name))
- searchdirs.append(os.path.join(TEMPLATE_DIR, 'site'))
- searchdirs.append(TEMPLATE_DIR)
+ searchdirs.append(os.path.join(config.TEMPLATE_DIR, mlist.host_name))
+ searchdirs.append(os.path.join(config.TEMPLATE_DIR, 'site'))
+ searchdirs.append(config.TEMPLATE_DIR)
# Start scanning
fp = None
try: