From aa16a3616615c7af29a1b9525d195b87a723b972 Mon Sep 17 00:00:00 2001 From: Dylan Jay Date: Mon, 15 Oct 2012 03:35:00 +1100 Subject: [PATCH] fix bug in staticcreator --- transmogrify/webcrawler/staticcreator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: