diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-18 20:47:50 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-18 20:47:50 +0200 |
commit | 876e2de602f22ace3a2fa9a2d56f48e3e807cd6a (patch) | |
tree | 1593de5edfdce1ef5e1c8a9162efcc89b3c48cbe /pyload/remote/wsbackend | |
parent | fixed online status fetching (diff) | |
download | pyload-876e2de602f22ace3a2fa9a2d56f48e3e807cd6a.tar.xz |
small fixes for crypter
Diffstat (limited to 'pyload/remote/wsbackend')
-rw-r--r-- | pyload/remote/wsbackend/AsyncHandler.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pyload/remote/wsbackend/AsyncHandler.py b/pyload/remote/wsbackend/AsyncHandler.py index 527834b7c..136cc060d 100644 --- a/pyload/remote/wsbackend/AsyncHandler.py +++ b/pyload/remote/wsbackend/AsyncHandler.py @@ -68,11 +68,13 @@ class AsyncHandler(AbstractHandler): def on_close(self, req): try: del req.queue + except AttributeError: # connection could be uninitialized + pass + + try: self.clients.remove(req) except ValueError: # ignore when not in list pass - except AttributeError: # connection could be uninitialized - pass @lock def add_event(self, event, *args, **kwargs): |