Commit 3229d229 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Missing parenthesis.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13680 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fda8f463
...@@ -54,7 +54,7 @@ class DirectoryFileHandler(FileHandler): ...@@ -54,7 +54,7 @@ class DirectoryFileHandler(FileHandler):
try: try:
file_list = dircache.listdir(localfile) file_list = dircache.listdir(localfile)
s = StringIO() s = StringIO()
s.write('<html><head><base href="%s"/></head><body>' % 'file:' + file) s.write('<html><head><base href="%s"/></head><body>' % ('file:' + file))
for f in file_list: for f in file_list:
s.write('<p><a href="%s/">%s</a></p>\n' % (urllib.quote(f), f)) s.write('<p><a href="%s/">%s</a></p>\n' % (urllib.quote(f), f))
s.write('</body></html>') s.write('</body></html>')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment