--- a/webfront.py Wed Jun 05 00:33:50 2019 +0300 +++ b/webfront.py Sat Jun 08 01:32:25 2019 +0300 @@ -28,9 +28,9 @@ # Amend human-readable messages into the report for problem in report['problems']: - object = model.body[problem['body-index']] - problem['message'] = problem_text(problem, test_suite) - problem['ldraw-code'] = object.textual_representation() + object = model.body[problem.body_index] + problem.message_str = problem_text(problem, test_suite) + problem.ldraw_code = object.textual_representation() else: report = None filename = None