Commit 4c9a5e71 authored by Ruben Young On's avatar Ruben Young On

Problem does not have to be stored

parent 9c9f5ca8
Pipeline #18658 failed with stages
in 4 minutes and 22 seconds
......@@ -25,9 +25,7 @@ def grade_mcq(sub, page, page_img):
]
for sol in solutions_to_grade:
problem = sol.problem
for mc_option in problem.mc_options:
for mc_option in sol.problem.mc_options:
box = (mc_option.x, mc_option.y)
if box_is_filled(box, page_img, box_size=CHECKBOX_FORMAT["box_size"]):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment