From 5e54297861cae8b00c8ff52865bcd1333ada61a2 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Fri, 25 Apr 2008 18:06:40 +0000 Subject: [PATCH] wizard steps start with 1, not 0 --- lib/python/Screens/Wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 1d099c9b..58697fe8 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -384,7 +384,7 @@ class Wizard(Screen, HelpableScreen): print "Updating values in step " + str(self.currStep) # calling a step which doesn't exist can only happen if the condition in the last step is not fulfilled # if a non-existing step is called, end the wizard - if self.currStep >= len(self.wizard): + if self.currStep > len(self.wizard): self.markDone() self.close() return -- 2.30.2