Add an `empty-answer' error type and remove images in this case.
This commit is contained in:
@@ -252,6 +252,8 @@ def apply_actions_and_regenerate(root_dir, data, student_id, actions, notes_laye
|
||||
base_img, label, content['result'], content['coordinates'][0],
|
||||
with_error=False
|
||||
)
|
||||
if final_img==None:
|
||||
continue
|
||||
|
||||
# Overlay manual notes
|
||||
if has_notes:
|
||||
|
||||
Reference in New Issue
Block a user