mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-23 01:41:31 +00:00
Fix FSMManager.unsubscribe_predicate()
This commit is contained in:
parent
78b689f650
commit
250b9da6d6
@ -56,7 +56,7 @@ class FSMManager:
|
|||||||
self.trigger_predicates[trigger].append(predicate)
|
self.trigger_predicates[trigger].append(predicate)
|
||||||
|
|
||||||
def unsubscribe_predicate(self, trigger, predicate):
|
def unsubscribe_predicate(self, trigger, predicate):
|
||||||
self.trigger_predicates[trigger].append(predicate)
|
self.trigger_predicates[trigger].remove(predicate)
|
||||||
|
|
||||||
|
|
||||||
class FSMUpdater:
|
class FSMUpdater:
|
||||||
|
Loading…
Reference in New Issue
Block a user