summaryrefslogtreecommitdiffstats
path: root/module/PluginThread.py
diff options
context:
space:
mode:
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)