Fix EventHandlerBase anchor 'reset' subscription

This commit is contained in:
Kristóf Tóth 2018-01-25 16:49:58 +01:00
parent 96b5234fc1
commit 14db8cae62

View File

@ -8,6 +8,7 @@ class EventHandlerBase:
self.messaging = Messaging() self.messaging = Messaging()
self.anchor = anchor self.anchor = anchor
self.messaging.subscribe(self.anchor) self.messaging.subscribe(self.anchor)
self.messaging.subscribe('reset')
self.subscriptions = {self.anchor} self.subscriptions = {self.anchor}
self.messaging.register_callback(self.event_handler_callback) self.messaging.register_callback(self.event_handler_callback)