diff options
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 abbdda711..c8b017293 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -677,7 +677,7 @@ class Wizard(NamedUrlWizardView): if not multi: key = key.startswith(form_key) and key or form_key + '-' + key val = request.session[storage.prefix]['step_data'][form_key][key] - if type(val) in (list, tuple): + if type(val) in (list, tuple) and val: val = val[0] return val vals = [] |