Commit e70b9c8e authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

stop overwriting the already validated student number

parent 20b3970b
......@@ -195,6 +195,9 @@ def process_page(output_dir, image_data, exam_config):
widgets_on_page = widget_data[ ==]
for problem in widgets_on_page.index:
if problem == 'studentnr':
if sub.signature_validated:
# We already identified the student before
sub.signature_image_path = 'None'
number_widget = widgets_on_page.loc['studentnr']
Supports Markdown
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