Skip to content

Commit

Permalink
Resolved #148 Encoding Issue for file Resolved
Browse files Browse the repository at this point in the history
Resolved #148 Encoding Issue for file Resolved
  • Loading branch information
aboul3la committed Oct 15, 2018
2 parents a9ccc8f + 159c109 commit 69fdd12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sublist3r.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 69fdd12

Please sign in to comment.