summaryrefslogtreecommitdiffstats
path: root/reflect.py
diff options
context:
space:
mode:
Diffstat (limited to 'reflect.py')
-rw-r--r--reflect.py1
1 files changed, 1 insertions, 0 deletions
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)