summaryrefslogtreecommitdiffstats
path: root/reflect.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-02-21 16:25:57 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2022-02-21 16:25:57 +0000
commit3e5d53b94cb535071ee0e4135de0f7d191cf26dc (patch)
treec84b0b8a739afc4d9480af061ce642b046751b0b /reflect.py
parentc54a8630faa8e1c597d598bf7497d724efb0fb18 (diff)
downloadSmarker-3e5d53b94cb535071ee0e4135de0f7d191cf26dc.tar.gz
Smarker-3e5d53b94cb535071ee0e4135de0f7d191cf26dc.zip
removed \rs for cross platform compatibility
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)