summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/edithtml.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Cgi/edithtml.py')
-rw-r--r--Mailman/Cgi/edithtml.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/Mailman/Cgi/edithtml.py b/Mailman/Cgi/edithtml.py
index 622054263..2c8688dd8 100644
--- a/Mailman/Cgi/edithtml.py
+++ b/Mailman/Cgi/edithtml.py
@@ -92,9 +92,8 @@ def main():
doc.AddItem(htmlformat.Header(2, 'Select page to edit:'))
template_list = htmlformat.UnorderedList()
for (template, info) in template_data:
- l = htmlformat.Link(os.path.join(list.GetRelativeScriptURL('edithtml'),
- template), info)
-
+ l = htmlformat.Link("%s/%s" % (list.GetRelativeScriptURL('edithtml'),template),
+ info)
template_list.AddItem(l)
doc.AddItem(htmlformat.FontSize("+2", template_list))
doc.AddItem(list.GetMailmanFooter())
@@ -158,8 +157,8 @@ def FormatHTML(doc):
doc.AddItem('<hr>')
- form = htmlformat.Form(os.path.join(list.GetRelativeScriptURL('edithtml'),
- template_name))
+ form = htmlformat.Form("%s/%s" % (list.GetRelativeScriptURL('edithtml'),
+ template_name))
doc.AddItem(form)
password_table = htmlformat.Table()