From 47c34989bcecc327a8fbdb33972fbab9ca67dd76 Mon Sep 17 00:00:00 2001 From: Bartekfiolek Date: Thu, 30 Nov 2023 21:30:32 +0100 Subject: [PATCH] Fix run_report.py --- run_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_report.py b/run_report.py index e640595..0e786e7 100644 --- a/run_report.py +++ b/run_report.py @@ -81,7 +81,7 @@ def execute_all_tasks(tasks): def get_task_points(dir): - with open(Path(dir, 'description.txt')) as f_in: + with open(Path(dir, 'description.txt'), encoding='utf-8') as f_in: lines = f_in.readlines() points = int([x for x in lines if x.startswith('POINTS')][0].split(' ')[-1].rstrip()) return points