Skip to content

Commit

Permalink
fix bug in staticcreator
Browse files Browse the repository at this point in the history
  • Loading branch information
djay committed Oct 14, 2012
1 parent 11df7d8 commit aa16a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transmogrify/webcrawler/staticcreator.py
Expand Up @@ -311,7 +311,7 @@ def dirlisting(selfself, path):
exc_type, exc_value, exc_tb = sys.exc_info()
raise IOError, msg, exc_tb
names.sort()
s = MyStringIO("file:"+url, {'content-type': 'text/html'})
s = MyStringIO("file:"+path, {'content-type': 'text/html'})
s.write('<BASE HREF="file:%s">\n' %
urllib.quote(os.path.join(path, "")))
for name in names:
Expand Down

0 comments on commit aa16a36

Please sign in to comment.