SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit afdb894c authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix proceedings issue

parent fa2d107a
No related branches found
No related tags found
No related merge requests found
......@@ -304,7 +304,11 @@ class RequestSubmissionForm(SubmissionChecks, forms.ModelForm):
cleaned_data['submitted_to_journal'])
if self.cleaned_data['submitted_to_journal'] != SCIPOST_JOURNAL_PHYSICS_PROC:
del self.cleaned_data['proceedings']
try:
del self.cleaned_data['proceedings']
except KeyError:
# No proceedings returned to data
return cleaned_data
return cleaned_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