From 2fc2f4eae4d1503aaa026d736a8ad3519c28e133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 27 Feb 2013 22:52:29 +0100 Subject: [PATCH] Remove hard-coded end state of Wizard --- proteus/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proteus/__init__.py b/proteus/__init__.py index 5a375160b1..a535341a12 100644 --- a/proteus/__init__.py +++ b/proteus/__init__.py @@ -889,7 +889,7 @@ class Wizard(object): assert state in self.states self.state = state - while self.state != 'end': + while self.state != self.end_state: ctx = self._context.copy() ctx.update(self._config.context) if self.models: