Skip to content
Snippets Groups Projects
Commit e0993c91 authored by Pierre LALET's avatar Pierre LALET
Browse files

UTscapy: do not write bytes to stdout

parent 0e02addc
No related branches found
No related tags found
No related merge requests found
......@@ -843,7 +843,8 @@ def main(argv):
if FORMAT == Format.HTML:
glob_output = pack_html_campaigns(runned_campaigns, glob_output, LOCAL, glob_title)
OUTPUTFILE.write(glob_output.encode("utf8", "ignore"))
OUTPUTFILE.write(glob_output.encode("utf8", "ignore")
if 'b' in OUTPUTFILE.mode else glob_output)
OUTPUTFILE.close()
# Return state
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment