Add an `empty-answer' error type and remove images in this case.

This commit is contained in:
2026-02-27 12:10:56 +01:00
parent b0d20eb653
commit fb74b587e6
3 changed files with 14 additions and 4 deletions
+2
View File
@@ -135,6 +135,8 @@ def process_student(args):
render_fn=safe_render_latex,
draw_callback=cb_renderer.callback
)
if final_img == None:
continue
label_images.append(final_img)
all_checkboxes.append(cb_renderer.checkboxes)