Add missing definition of state in __init__
If an exception happens before state is set it is not possible to close the wizard.
This commit is contained in:
1 parent
20c48c4c99
commit
712304c7ca
1 file changed
+1
@@ -38,6 +38,7 @@ class Wizard(object):
|
||||
self.end_state = None
|
||||
self.screen = None
|
||||
self.screen_state = None
|
||||
self.state = None
|
||||
|
||||
def run(self, action, data, direct_print=False, email_print=False,
|
||||
email=None, context=None):
|
||||
|
||||
Reference in new issue
Block a user