diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-05 22:27:45 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-05 22:27:45 +0200 |
commit | e6c9c807038834d6eb673acfa7d12bcd968e2de8 (patch) | |
tree | 1e87c32ac419a0467aa4123b3793902c715f0314 /ishtar_common/wizards.py | |
parent | 923b2533d62454f89b409628ab0203c3641e30ed (diff) | |
download | Ishtar-e6c9c807038834d6eb673acfa7d12bcd968e2de8.tar.bz2 Ishtar-e6c9c807038834d6eb673acfa7d12bcd968e2de8.zip |
Wizard: fix non valid wizards
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r-- | ishtar_common/wizards.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index a0b17dace..a98b14f8e 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -368,7 +368,7 @@ class Wizard(NamedUrlWizardView): if hasattr(base_form, 'associated_labels') \ and key in base_form.associated_labels: lbl = base_form.associated_labels[key] - if not lbl: + if not lbl or key not in cleaned_data: continue value = cleaned_data[key] if value is None or value == '': |