Logging fix

This commit is contained in:
mailchuck 2015-11-21 10:14:30 +01:00 committed by Peter Surda
parent aa55f45a0d
commit 3c9df7151c

View File

@ -174,7 +174,7 @@ class sendDataThread(threading.Thread):
self.connectionIsOrWasFullyEstablished = True
self.services, self.sslSock = data
else:
logger.error('sendDataThread ID: ' + id(self) + ' ignoring command ' + command + ' because the thread is not in stream' + str(deststream))
logger.error('sendDataThread ID: ' + str(id(self)) + ' ignoring command ' + command + ' because the thread is not in stream' + str(deststream))
try:
self.sock.shutdown(socket.SHUT_RDWR)