diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-03-09 11:22:37 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:27 +0200 |
commit | 4b37e4a16672d521cd04c3da6b48a244ce6d9ba8 (patch) | |
tree | 5ef8e8b66009dfcfd6ad9c219fec9fb66230adec /ishtar_common/wizards.py | |
parent | bdf52a0d1792340fab01fbcc4f6926bfb1914168 (diff) | |
download | Ishtar-4b37e4a16672d521cd04c3da6b48a244ce6d9ba8.tar.bz2 Ishtar-4b37e4a16672d521cd04c3da6b48a244ce6d9ba8.zip |
Wizards: fix going to previous step
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 6e282a3fd..b5fe507b0 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -1089,7 +1089,7 @@ class Wizard(IshtarWizard): try: # convert numerical step number to step name step_number = int(self.request.POST['form_prev_step']) - wizard_goto_step = self.get_form_list().keys()[step_number] + wizard_goto_step = list(self.get_form_list().keys())[step_number] except (ValueError, IndexError): return super(Wizard, self).post(*args, **kwargs) self.storage.current_step = wizard_goto_step |