summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/HTMLFormatter.py')
-rw-r--r--Mailman/HTMLFormatter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py
index c47c6c998..bc6a41aab 100644
--- a/Mailman/HTMLFormatter.py
+++ b/Mailman/HTMLFormatter.py
@@ -28,9 +28,9 @@ from htmlformat import *
class HTMLFormatter:
- def InitTempVars(self):
+ def InitVars(self):
if self._internal_name:
- self._template_dir = os.path.join(mm_cfg.TEMPLATE_DIR,
+ self._template_dir = os.path.join(mm_cfg.LIST_DATA_DIR,
self._internal_name)
else:
self._template_dir = mm_cfg.TEMPLATE_DIR
@@ -58,7 +58,7 @@ class HTMLFormatter:
def SnarfHTMLTemplate(self, file):
# XXX: hack, blech, yuk
- HTMLFormatter.InitTempVars(self)
+ HTMLFormatter.InitVars(self)
filename = os.path.join(self._template_dir, file)
f = open(filename,'r')
str = f.read()