pass args to enter func when transitioning out of Off
This commit is contained in:
parent
dc78382904
commit
fbf95c3f95
|
|
@ -224,7 +224,7 @@ class FSM(DirectObject.DirectObject):
|
|||
"""From the off state, we can always go directly to any other
|
||||
state."""
|
||||
if request[0] in string.uppercase:
|
||||
return request
|
||||
return (request,) + args
|
||||
return self.defaultFilter(request, args)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue