Skip to content
Snippets Groups Projects
Commit aa36e8eb authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

stop overwriting the already validated student number

parent ee18d7fe
No related branches found
No related tags found
No related merge requests found
......@@ -195,6 +195,9 @@ def process_page(output_dir, image_data, exam_config):
widgets_on_page = widget_data[widget_data.page == qr_data.page]
for problem in widgets_on_page.index:
if problem == 'studentnr':
if sub.signature_validated:
# We already identified the student before
continue
sub.signature_image_path = 'None'
try:
number_widget = widgets_on_page.loc['studentnr']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment