Skip to content
Snippets Groups Projects
Commit a48c9c58 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-333: connect() never checks for self.connected, the caller already does....

L2SS-333: connect() never checks for self.connected, the caller already does. Make this at least consistent.
parent 0dbe3ae8
No related branches found
No related tags found
1 merge request!95L2SS-333: Improve CommClient.connect signature
......@@ -49,7 +49,7 @@ class StatisticsClient(CommClient):
"""
Function used to connect to the client.
"""
if not self.connected:
self.queue = Queue(maxsize=self.queuesize)
self.udp = UDPReceiver(self.host, self.port, self.queue, self.poll_timeout)
self.statistics = self.statistics_collector_class(self.queue)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment