From 6b23b863ed47b7bf52b89fdbaba0aa7b8c5aa0dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Tue, 21 May 2019 13:55:28 +0200 Subject: [PATCH] Fix code formatting --- lib/tfw/networking/event_handlers/server_connector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tfw/networking/event_handlers/server_connector.py b/lib/tfw/networking/event_handlers/server_connector.py index 4c2a2b9..ab9973b 100644 --- a/lib/tfw/networking/event_handlers/server_connector.py +++ b/lib/tfw/networking/event_handlers/server_connector.py @@ -19,7 +19,7 @@ class ServerDownlinkConnector(ZMQConnectorBase): super(ServerDownlinkConnector, self).__init__(zmq_context) self._zmq_sub_socket = self._zmq_context.socket(zmq.SUB) self._zmq_sub_socket.connect(f'tcp://localhost:{TFWENV.PUBLISHER_PORT}') - self._zmq_sub_socket.setsockopt(zmq.RCVHWM,0) + self._zmq_sub_socket.setsockopt(zmq.RCVHWM, 0) self._zmq_sub_stream = ZMQStream(self._zmq_sub_socket) self.subscribe = partial(self._zmq_sub_socket.setsockopt_string, zmq.SUBSCRIBE) @@ -41,7 +41,7 @@ class ServerUplinkConnector(ZMQConnectorBase): super(ServerUplinkConnector, self).__init__(zmq_context) self._zmq_push_socket = self._zmq_context.socket(zmq.PUSH) self._zmq_push_socket.connect(f'tcp://localhost:{TFWENV.RECEIVER_PORT}') - self._zmq_push_socket.setsockopt(zmq.SNDHWM,0) + self._zmq_push_socket.setsockopt(zmq.SNDHWM, 0) def send_to_eventhandler(self, message): """