From e2eee7176c46b9ef59152b1d33a4e1ee3de92c3c Mon Sep 17 00:00:00 2001
From: Alexandru Fikl <alexfikl@gmail.com>
Date: Thu, 27 Jun 2024 21:38:01 +0300
Subject: [PATCH] toml requires files opened in binary mode

---
 ci-support.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci-support.sh b/ci-support.sh
index 47ac5a5..bb3a7e3 100644
--- a/ci-support.sh
+++ b/ci-support.sh
@@ -130,7 +130,7 @@ def main():
         parser.print_usage()
         sys.exit(1)
 
-    with open(args.filename, encoding="utf-8") as toml:
+    with open(args.filename, "rb") as toml:
         data = tomllib.load(toml)
 
     sys.exit(args.func(data, args))
-- 
GitLab