diff options
author | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-08-12 01:14:31 +0200 |
---|---|---|
committer | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-08-12 01:14:31 +0200 |
commit | 026a29c495a8665b8af3a7fd6686346a577d32f7 (patch) | |
tree | 71f3f0b5c5e8ddc4641d9448983a8e90cd070222 | |
parent | b49486ede2c2354bdc97a1d7668d930a1a77e73a (diff) | |
download | klausuren-026a29c495a8665b8af3a7fd6686346a577d32f7.tar.gz klausuren-026a29c495a8665b8af3a7fd6686346a577d32f7.tar.bz2 klausuren-026a29c495a8665b8af3a7fd6686346a577d32f7.zip |
fixed validate_module bug
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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!') |