diff options
author | mkaay <mkaay@mkaay.de> | 2011-02-13 15:06:03 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-02-13 15:06:03 +0100 |
commit | 908c28bab89525250172a4013667319942846065 (patch) | |
tree | 73b85517ae12f8be4bc2071409136f181907795d /module/remote/thriftbackend/ThriftClient.py | |
parent | cleanup (diff) | |
download | pyload-908c28bab89525250172a4013667319942846065.tar.xz |
fixes + improvements
Diffstat (limited to 'module/remote/thriftbackend/ThriftClient.py')
-rw-r--r-- | module/remote/thriftbackend/ThriftClient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/remote/thriftbackend/ThriftClient.py b/module/remote/thriftbackend/ThriftClient.py index 9fcabc4e7..67474b2bb 100644 --- a/module/remote/thriftbackend/ThriftClient.py +++ b/module/remote/thriftbackend/ThriftClient.py @@ -52,7 +52,7 @@ class ThriftClient: correct = self.client.login(user, password) finally: self.socket.setTimeout(None) - + if not correct: self.transport.close() raise WrongLogin @@ -80,4 +80,4 @@ if __name__ == "__main__": for p in q: data = client.getPackageData(p.pid) print data - print "Package Name: ", data.name
\ No newline at end of file + print "Package Name: ", data.name |