Skip to content
Snippets Groups Projects
Commit 2263dc8a authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Fix bug where blank values are looked up

parent e2770c66
No related branches found
No related tags found
No related merge requests found
......@@ -503,7 +503,7 @@ class ApplicationSubmission(WorkflowHelpers, AbstractFormSubmission):
try:
data = [choices[value] for value in data]
except KeyError:
data = [choices[int(value)] for value in data]
data = [choices[int(value)] for value in data if value]
else:
data = str(data)
return data
......
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