From fc2d6441596e547ba8d8c9957b092724d8bb9ae3 Mon Sep 17 00:00:00 2001 From: jwansek Date: Thu, 28 Apr 2022 17:52:47 +0100 Subject: Started writing documentation --- Smarker/reflect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Smarker/reflect.py') 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 -- cgit v1.2.3