diff options
author | spoob <spoob@gmx.de> | 2009-12-27 02:40:56 +0100 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-12-27 02:40:56 +0100 |
commit | 48588a0d05492e46126776c3e7023397b9ad0b90 (patch) | |
tree | 6729bc55ad1aa2de3b49cc240d983f04ce0c5611 /module/download_thread.py | |
parent | closes #13 (diff) | |
download | pyload-48588a0d05492e46126776c3e7023397b9ad0b90.tar.xz |
Fixed reconnect loop (easy doing)
Diffstat (limited to 'module/download_thread.py')
-rw-r--r-- | module/download_thread.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/download_thread.py b/module/download_thread.py index be6ff6bf0..3d4aa065d 100644 --- a/module/download_thread.py +++ b/module/download_thread.py @@ -77,7 +77,7 @@ class Download_Thread(threading.Thread): self.start() def run(self): - while (not self.shutdown): + while not self.shutdown: self.loadedPyFile = self.parent.get_job() if self.loadedPyFile: try: @@ -165,4 +165,3 @@ class Download_Thread(threading.Thread): sleep(1) pyfile.status.want_reconnect = False return True - |