diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-16 17:03:25 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-16 17:03:25 +0100 |
commit | 87c596d90fc82c97dfb35a494fbef4590d689ca9 (patch) | |
tree | ff58576c80586dc8b2880cce3a39e7d269c122cb /module | |
parent | win fix (diff) | |
download | pyload-87c596d90fc82c97dfb35a494fbef4590d689ca9.tar.xz |
windows connect fix
Diffstat (limited to 'module')
-rw-r--r-- | module/remote/thriftbackend/ThriftClient.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/remote/thriftbackend/ThriftClient.py b/module/remote/thriftbackend/ThriftClient.py index d5c203cf0..de9b9abd7 100644 --- a/module/remote/thriftbackend/ThriftClient.py +++ b/module/remote/thriftbackend/ThriftClient.py @@ -36,8 +36,10 @@ class ThriftClient: try: self.transport.open() except error, e: - if e.args and e.args[0] == 111: + if e.args and e.args[0] in (111, 10061): raise NoConnection + else: + raise try: correct = self.client.login(user, password) |