Fix run_report.py
This commit is contained in:
parent
b01415db32
commit
47c34989bc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user