From d8f424dd6fcfd68a5e758a95347668d5a2939984 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 4 Sep 2010 14:42:56 +0200 Subject: hoster fixes, new tray icon --- module/PluginThread.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'module/PluginThread.py') 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 -- cgit v1.2.3