diff --git a/sublist3r.py b/sublist3r.py index 818a0c2..10a8778 100755 --- a/sublist3r.py +++ b/sublist3r.py @@ -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)