summaryrefslogtreecommitdiffstats
path: root/misc/scripts/check_ci_log.py
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-03-24 18:02:56 +0100
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-03-24 18:02:56 +0100
commit4933fa8bf5119e605e53f06a632cfabfcd991032 (patch)
tree0eb064aba5a7a044c0d9813dfb6df27ebe0d3001 /misc/scripts/check_ci_log.py
parent99ff024f78f65ba0bc54fb409cfeca43ba2008fe (diff)
downloadredot-engine-4933fa8bf5119e605e53f06a632cfabfcd991032.tar.gz
[Buildsystem] Fix encoding when reading files
Diffstat (limited to 'misc/scripts/check_ci_log.py')
-rwxr-xr-xmisc/scripts/check_ci_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/scripts/check_ci_log.py b/misc/scripts/check_ci_log.py
index d979d373de..d024a3e375 100755
--- a/misc/scripts/check_ci_log.py
+++ b/misc/scripts/check_ci_log.py
@@ -9,7 +9,7 @@ if len(sys.argv) < 2:
fname = sys.argv[1]
-with open(fname.strip(), "r") as fileread:
+with open(fname.strip(), "r", encoding="utf-8") as fileread:
file_contents = fileread.read()
# If find "ERROR: AddressSanitizer:", then happens invalid read or write