summaryrefslogtreecommitdiffstats
path: root/module/PluginThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-04 14:42:56 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-04 14:42:56 +0200
commitd8f424dd6fcfd68a5e758a95347668d5a2939984 (patch)
tree7e7b79bfcd576b871be4110cae82583721728734 /module/PluginThread.py
parentmegaupload fix 2 (diff)
downloadpyload-d8f424dd6fcfd68a5e758a95347668d5a2939984.tar.xz
hoster fixes, new tray icon
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r--module/PluginThread.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py
index c3d6c9ec7..e6e0c50c7 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -186,16 +186,17 @@ class DownloadThread(PluginThread):
except error, e:
code, msg = e
- if self.m.core.debug:
- print "pycurl error", code, msg
- print_exc()
- self.writeDebugReport(pyfile)
- if code in (7,52):
+ if code in (7,52,56):
self.m.log.warning(_("Couldn't connect to host waiting 1 minute and retry."))
sleep(60)
self.queue.put(pyfile)
continue
+ else:
+ print "pycurl error", code, msg
+ if self.m.core.debug:
+ print_exc()
+ self.writeDebugReport(pyfile)
pyfile.plugin.req.clean()
self.active = False