Resolved #148 Encoding Issue for file Resolved
Resolved #148 Encoding Issue for file Resolved
This commit is contained in:
commit
69fdd12708
|
|
@ -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