diff --git a/entrypoint.py b/entrypoint.py index 94ec49c..14f65ef 100644 --- a/entrypoint.py +++ b/entrypoint.py @@ -171,7 +171,7 @@ def sizeof_fmt(num, suffix='B', sign=False): if process.returncode != 0: raise Exception("Error while executing diffuse") -with open(output_file_name, mode="r", encoding="utf-8") as output: +with open(output_file_name, mode="r", encoding="cp1252") as output: outputPath = os.path.realpath(output.name) diff = output.read()