Allow subscribing to all ZMQ topics in EventHandlerBase

This commit is contained in:
Kristóf Tóth 2019-05-05 20:57:22 +02:00
parent bb8e0c7458
commit ddc79c9717

View File

@ -55,6 +55,8 @@ class EventHandlerBase(ABC):
subscribed to 'fsm' will receive 'fsm_update' subscribed to 'fsm' will receive 'fsm_update'
messages as well. messages as well.
""" """
if '' in self.keys:
return True
return message['key'] in self.keys return message['key'] in self.keys
def dispatch_handling(self, message): def dispatch_handling(self, message):