diff options
Diffstat (limited to 'voctocore/lib/tcpmulticonnection.py')
-rw-r--r-- | voctocore/lib/tcpmulticonnection.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/voctocore/lib/tcpmulticonnection.py b/voctocore/lib/tcpmulticonnection.py index 5ad4ca2..fd2a633 100644 --- a/voctocore/lib/tcpmulticonnection.py +++ b/voctocore/lib/tcpmulticonnection.py @@ -36,10 +36,6 @@ class TCPMultiConnection(object): return True - def close_connection(self, conn, addr=None): - if addr is None: - addr = conn.getpeername() - + def close_connection(self, conn): self.currentConnections.remove(conn) - self.log.info('Disconnected Receiver %s', addr) self.log.info('Now %u Receiver connected', len(self.currentConnections)) |