summaryrefslogtreecommitdiffstats
path: root/module/PluginThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-15 14:43:18 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-15 14:43:18 +0200
commit03eecc372628391815f9b0091a0bd980c146685d (patch)
tree7c3ccb195668905cae8a668f8d90eb19bc8f8ea6 /module/PluginThread.py
parentfix (diff)
downloadpyload-03eecc372628391815f9b0091a0bd980c146685d.tar.xz
some fixes, fixed #125
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r--module/PluginThread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py
index 50aa7c2c8..eb2b568d8 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -185,9 +185,9 @@ class DownloadThread(PluginThread):
if self.m.core.debug:
print "pycurl error", code, msg
print_exc()
- self.writeDebugReport()
+ self.writeDebugReport(pyfile)
- if code == 7:
+ if code in (7,52):
self.m.log.warning(_("Couldn't connect to host waiting 1 minute and retry."))
sleep(60)
self.queue.put(pyfile)