pass args to enter func when transitioning out of Off

This commit is contained in:
Darren Ranalli 2004-05-28 01:13:45 +00:00
parent dc78382904
commit fbf95c3f95

View File

@ -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)