Moving binary to textual file openings

This commit is contained in:
Miroslav Stampar 2026-01-18 00:05:05 +01:00
parent e62e8c6cea
commit d9102e03c6
10 changed files with 28 additions and 27 deletions

View file

@ -254,7 +254,7 @@ def storeResultsToFile(results):
infoMsg = "writing crawling results to a temporary file '%s' " % filename
logger.info(infoMsg)
with openFile(filename, "w+b") as f:
with openFile(filename, "w+") as f:
if conf.forms:
f.write("URL,POST\n")