diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-10-24 03:50:36 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-10-24 03:51:14 +0200 |
commit | 42116f233489b878a512295adb86b5556e7257f2 (patch) | |
tree | 9e64c8d168e0ed4e73e3725b9c06d072d62233ff /ishtar_common/wizards.py | |
parent | 5b5c1bd7dd865fb530b156212474846db59b2191 (diff) | |
download | Ishtar-42116f233489b878a512295adb86b5556e7257f2.tar.bz2 Ishtar-42116f233489b878a512295adb86b5556e7257f2.zip |
Imports: manage soft import (update) with unicity keys - script to initialize SRA file import
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 = [] |