From 6a838e2e6a6f5b2f4f0a46a656be4656c9b1e90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Kwiecin=CC=81ski?= Date: Thu, 7 Mar 2024 21:47:15 +0700 Subject: [PATCH] wip --- entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()