Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/scriptform/commit/9e29db3e3f08c59314a181145fb6225b8e19b005?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Code quality.

pull/7/head
Ferry Boender 10 years ago
parent d12282c860
commit 9e29db3e3f
  1. 2
      src/formdefinition.py

@ -255,7 +255,7 @@ class FormDefinition(object):
value = form_values[field_def['name']] value = form_values[field_def['name']]
except KeyError: except KeyError:
# Field is missing. Check if it's required. # Field is missing. Check if it's required.
if 'required' in field_def and field_def['required'] == True: if 'required' in field_def and field_def['required'] is True:
raise ValidationError("Invalid file upload") raise ValidationError("Invalid file upload")
else: else:
return '' return ''

Loading…
Cancel
Save