Logging fix

This commit is contained in:
mailchuck 2015-11-21 00:41:08 +01:00 committed by Peter Surda
parent 0270dc3d4d
commit aa55f45a0d

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' + deststream)
logger.error('sendDataThread ID: ' + id(self) + ' ignoring command ' + command + ' because the thread is not in stream' + str(deststream))
try:
self.sock.shutdown(socket.SHUT_RDWR)