Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Réouven ASSOULY
zesje
Commits
e70b9c8e
Commit
e70b9c8e
authored
May 01, 2018
by
Anton Akhmerov
Browse files
stop overwriting the already validated student number
parent
20b3970b
Changes
1
Hide whitespace changes
Inline
Side-by-side
zesje/helpers/pdf_helper.py
View file @
e70b9c8e
...
...
@@ -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'
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment