summaryrefslogtreecommitdiffstats
path: root/Smarker/reflect.py
diff options
context:
space:
mode:
Diffstat (limited to 'Smarker/reflect.py')
-rw-r--r--Smarker/reflect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Smarker/reflect.py b/Smarker/reflect.py
index 2a1f552..44d69de 100644
--- a/Smarker/reflect.py
+++ b/Smarker/reflect.py
@@ -376,7 +376,7 @@ def gen_reflection_report(client_code_path, assessment_struct, student_no, confi
lines = lines.replace("\r", "")
matches = {}
for regex_ in contents["regexes"]:
- matches[regex_] = re.findall(regex_, lines)
+ matches[regex_] = re.findall(str(regex_), lines)
required_files_features["run"][j][cmd]["regexes"] = matches
required_files_features["run"][j][cmd]["full_output"] = lines