summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index ce7e7b4..1d75716 100644
--- a/app.py
+++ b/app.py
@@ -66,7 +66,7 @@ class UploadForm(Form):
def validate_module(form, field):
modules = dict(FORM_MODULE_LIST)
data = form.module.data
- if module not in modules or data == '':
+ if data not in modules or data == '':
raise ValidationError(u'Bitte wähle ein Modul!')