From 3e5d53b94cb535071ee0e4135de0f7d191cf26dc Mon Sep 17 00:00:00 2001 From: jwansek Date: Mon, 21 Feb 2022 16:25:57 +0000 Subject: removed \rs for cross platform compatibility --- reflect.py | 1 + 1 file changed, 1 insertion(+) (limited to 'reflect.py') diff --git a/reflect.py b/reflect.py index b508f15..392188c 100644 --- a/reflect.py +++ b/reflect.py @@ -362,6 +362,7 @@ def gen_reflection_report(client_code_path, assessment_struct, student_no, confi break lines += line.decode() + lines = lines.replace("\r", "") matches = {} for regex_ in contents["regexes"]: matches[regex_] = re.findall(regex_, lines) -- cgit v1.2.3