diff options
Diffstat (limited to 'ishtar_common/wizards.py')
| -rw-r--r-- | ishtar_common/wizards.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 6e4e8544f..8acf1a3ed 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -710,7 +710,9 @@ class Wizard(IshtarWizard):                          dct[k] = []                      elif type(dct[k]) not in (list, tuple):                          dct[k] = [dct[k]] -                setattr(obj, k, dct[k]) +                    getattr(obj, k).set(dct[k]) +                else: +                    setattr(obj, k, dct[k])              if hasattr(obj, "data"):                  obj.data = data              if hasattr(obj, "pre_save"): | 
