Handle state type in Wizard
This commit is contained in:
1 parent
a2d055dc61
commit
47ca1ddea9
1 file changed
+2
@@ -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)
|
||||
Reference in new issue
Block a user