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 | d58c3ee3b823cb056967608bfbf81127249fc120 (patch) | |
tree | 1e87c32ac419a0467aa4123b3793902c715f0314 /ishtar_common | |
parent | ba63aedc862c1877a53cac172463269c62e46d74 (diff) | |
download | Ishtar-d58c3ee3b823cb056967608bfbf81127249fc120.tar.bz2 Ishtar-d58c3ee3b823cb056967608bfbf81127249fc120.zip |
Wizard: fix non valid wizards
Diffstat (limited to 'ishtar_common')
-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 == '': |