refactor: cleanup graph

This commit is contained in:
Swann
2019-07-23 10:38:14 +02:00
parent 9a7a42d03a
commit 3d04765543
2 changed files with 6 additions and 5 deletions

View File

@ -102,6 +102,9 @@ class ClientNetService(threading.Thread):
self.state = STATE_INITIAL
def connect(self,address='127.0.0.1', port=5560):
"""
Network socket setup
"""
if self.state == STATE_INITIAL:
logger.debug("connecting on {}:{}".format(address,port))
self.snapshot = self.context.socket(zmq.DEALER)