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:
Cédric Krier committed 2012-03-18 16:36:28 +01:00
1 parent 20c48c4c99
commit 712304c7ca
1 file changed
+1
+1
View File
@@ -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):