Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4649450 commit 59078bbCopy full SHA for 59078bb
1 file changed
lib/core/target.py
@@ -399,7 +399,8 @@ def __createTargetDirs():
399
conf.outputPath = tempDir
400
401
with open(os.path.join(conf.outputPath, "target.txt"), "w+") as f:
402
- f.write(kb.originalUrls.get(conf.url) or conf.url or conf.hostname)
+ _ = kb.originalUrls.get(conf.url) or conf.url or conf.hostname
403
+ f.write(_.encode(UNICODE_ENCODING))
404
405
__createDumpDir()
406
__createFilesDir()
0 commit comments