From c8429365e358115fb11add3cc99b3763f2eca5dc Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Tue, 21 Feb 2017 10:25:59 +0100 Subject: [PATCH] Typo - typo in last commit --- src/class_sendDataThread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class_sendDataThread.py b/src/class_sendDataThread.py index 320cb932..3d35c48a 100644 --- a/src/class_sendDataThread.py +++ b/src/class_sendDataThread.py @@ -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