From ddc79c9717d5ef28ca9e140f5708fe9ad7eac28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sun, 5 May 2019 20:57:22 +0200 Subject: [PATCH] Allow subscribing to all ZMQ topics in EventHandlerBase --- lib/tfw/event_handler_base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tfw/event_handler_base.py b/lib/tfw/event_handler_base.py index 04bcaf4..6f9819b 100644 --- a/lib/tfw/event_handler_base.py +++ b/lib/tfw/event_handler_base.py @@ -55,6 +55,8 @@ class EventHandlerBase(ABC): subscribed to 'fsm' will receive 'fsm_update' messages as well. """ + if '' in self.keys: + return True return message['key'] in self.keys def dispatch_handling(self, message):