Encoding Issue for file Resolved
This commit is contained in:
parent
c80ca5f0e9
commit
159c10951d
|
@ -104,7 +104,7 @@ def parse_args():
|
|||
def write_file(filename, subdomains):
|
||||
# saving subdomains results to output file
|
||||
print("%s[-] Saving results to file: %s%s%s%s" % (Y, W, R, filename, W))
|
||||
with open(str(filename), 'wt',encoding='utf-8') as f:
|
||||
with open(str(filename), 'wt') as f:
|
||||
for subdomain in subdomains:
|
||||
f.write(subdomain + os.linesep)
|
||||
|
||||
|
|
Loading…
Reference in New Issue