From 47ca1ddea9e858dc9a3a365ce195f7691f433d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 13 Nov 2010 04:29:05 +0100 Subject: [PATCH] Handle state type in Wizard --- proteus/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proteus/__init__.py b/proteus/__init__.py index 08fa4cd297..8dff002bf8 100644 --- a/proteus/__init__.py +++ b/proteus/__init__.py @@ -639,6 +639,8 @@ class Wizard(object): elif res['type'] == 'print': # TODO run print self.state = res['state'] + elif res['type'] == 'state': + self.state = res['state'] if self.state == 'end': self._proxy.delete(self.id, self._config.context)