- typo in last commit
This commit is contained in:
Peter Šurda 2017-02-21 10:25:59 +01:00
parent fef6126a74
commit c8429365e3
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -104,7 +104,7 @@ class sendDataThread(threading.Thread):
select.select([], [self.sslSock if isSSL else self.sock], [], 10)
logger.debug('sock.recv retriable error')
continue
if e.errno in (errno.EPIPE):
if e.errno == errno.EPIPE:
logger.debug('Connection broken')
return False
raise