From 7bae6680c85d043e01f4b322885bc792acde9fde Mon Sep 17 00:00:00 2001 From: petrucci4prez Date: Sat, 10 Jun 2017 02:15:16 -0400 Subject: [PATCH] fix typo --- stateMachine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stateMachine.py b/stateMachine.py index a5de982..96a11f6 100644 --- a/stateMachine.py +++ b/stateMachine.py @@ -53,7 +53,7 @@ class State: raise Exception('Illegal signal') def addTransition(self, signal, state): - self._transTbl[signal] = weakref.ref(state) + self._transTbl[signal] = state def __str__(self): return self.name