mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 20:11:32 +00:00
Remove unnecessary __init__() call
This commit is contained in:
parent
aacdbcb0d1
commit
5c1431685e
@ -29,9 +29,6 @@ class EventHandlerUplinkConnector(ZMQConnectorBase):
|
|||||||
|
|
||||||
|
|
||||||
class EventHandlerConnector(EventHandlerDownlinkConnector, EventHandlerUplinkConnector):
|
class EventHandlerConnector(EventHandlerDownlinkConnector, EventHandlerUplinkConnector):
|
||||||
def __init__(self, zmq_context=None):
|
|
||||||
super(EventHandlerConnector, self).__init__(zmq_context)
|
|
||||||
|
|
||||||
def register_callback(self, callback):
|
def register_callback(self, callback):
|
||||||
self._zmq_pull_stream.on_recv(callback)
|
self._zmq_pull_stream.on_recv(callback)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user