diff --git a/transmogrify/webcrawler/staticcreator.py b/transmogrify/webcrawler/staticcreator.py index 46b079f..563f313 100755 --- a/transmogrify/webcrawler/staticcreator.py +++ b/transmogrify/webcrawler/staticcreator.py @@ -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('\n' % urllib.quote(os.path.join(path, ""))) for name in names: