Handle state type in Wizard

This commit is contained in:
Cédric Krier committed 2010-11-13 04:29:05 +01:00
1 parent a2d055dc61
commit 47ca1ddea9
1 file changed
+2
+2
View File
@@ -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)