diff options
| -rw-r--r-- | archaeological_operations/wizards.py | 2 | ||||
| -rw-r--r-- | ishtar_common/wizards.py | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py index d816cf9aa..6d25812eb 100644 --- a/archaeological_operations/wizards.py +++ b/archaeological_operations/wizards.py @@ -323,7 +323,7 @@ class OperationAdministrativeActWizard(OperationWizard):                  r = r[k]              else:                  break -        if level == len(keys): # the whole tree as been traversed +        if level == len(keys): # the whole list as been traversed              # redirect to the generated doc              dct['redirect'] = reverse('generatedoc-administrativeactop',                                        args=[admact.pk, r[0]]) diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index d29a8458f..d506c8552 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -620,7 +620,7 @@ class Wizard(NamedUrlWizardView):              storage.reset()          data = storage.get_step_data(form_key)          if not data: -            data = {}#MultiValueDict() +            data = MultiValueDict()          key = key if key.startswith(form_key) else form_key + '-' + key          data[key] = value          storage.set_step_data(form_key, data) | 
