summaryrefslogtreecommitdiffstats
path: root/pyload/remote/wsbackend/Server.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-09-17 15:49:41 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-09-17 15:49:41 +0200
commitcef9a501246398e799154c75f5b92933c955d76c (patch)
tree554a360781cdd13c63d769fe80c472e016dfbf4e /pyload/remote/wsbackend/Server.py
parentmore fixes for py2.5 (diff)
downloadpyload-cef9a501246398e799154c75f5b92933c955d76c.tar.xz
account deletion fix
Diffstat (limited to 'pyload/remote/wsbackend/Server.py')
-rw-r--r--pyload/remote/wsbackend/Server.py3
1 files changed, 2 insertions, 1 deletions
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")