From cef9a501246398e799154c75f5b92933c955d76c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 17 Sep 2013 15:49:41 +0200 Subject: account deletion fix --- pyload/remote/wsbackend/Server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyload/remote/wsbackend/Server.py') diff --git a/pyload/remote/wsbackend/Server.py b/pyload/remote/wsbackend/Server.py index d6b25dfda..02da44f04 100644 --- a/pyload/remote/wsbackend/Server.py +++ b/pyload/remote/wsbackend/Server.py @@ -466,7 +466,8 @@ class WebSocketRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler): self, request, client_address, server) except socket.error, e: # Broken pipe, let it pass - if e.errno != 32: + errno = e.args[0] # errno on py < 2.6 + if errno != 32: raise self._logger.debug("WS: Broken pipe") -- cgit v1.2.3