Patch for an Issue #815

This commit is contained in:
Miroslav Stampar 2014-09-01 16:16:12 +02:00
parent 25c6fca20e
commit 7e40890f32

View File

@ -556,7 +556,7 @@ def _createTargetDirs():
f.write(kb.originalUrls.get(conf.url) or conf.url or conf.hostname) f.write(kb.originalUrls.get(conf.url) or conf.url or conf.hostname)
f.write(" (%s)" % (HTTPMETHOD.POST if conf.data else HTTPMETHOD.GET)) f.write(" (%s)" % (HTTPMETHOD.POST if conf.data else HTTPMETHOD.GET))
if conf.data: if conf.data:
f.write("\n\n%s" % conf.data) f.write("\n\n%s" % getUnicode(conf.data))
except IOError, ex: except IOError, ex:
if "denied" in str(ex): if "denied" in str(ex):
errMsg = "you don't have enough permissions " errMsg = "you don't have enough permissions "