FSMManager no longer owns the managed FSM

This commit is contained in:
Kristóf Tóth 2018-02-26 15:07:37 +01:00
parent 5776400990
commit 50c940b21d

View File

@ -38,8 +38,8 @@ class TFWServer:
class FSMManager:
def __init__(self, fsm_type):
self._fsm = fsm_type()
def __init__(self, fsm):
self._fsm = fsm
self.trigger_handlers = defaultdict(list)
@property