Merge pull request #19 from RelaxHack/master

This commit is contained in:
Seb Seager 2023-07-12 10:10:01 -05:00 committed by GitHub
commit d98d00f36b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -505,7 +505,7 @@ if __name__ == "__main__":
os.makedirs(out_dir, exist_ok=True)
full_filepath = os.path.join(out_dir, filename)
print("Writing output to %s" % full_filepath)
with open(full_filepath, mode="w") as f:
with open(full_filepath, mode="w", encoding="utf-8") as f:
if a.json:
json.dump(data, f, indent=4)
else: