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 296b51bb3..3ee299f72 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -214,8 +214,8 @@ class DownloadThread(PluginThread):
code, msg = e
- if code in (7,52,56,28):
- self.m.log.warning(_("Couldn't connect to host waiting 1 minute and retry."))
+ if code in (7, 18, 28, 52, 56):
+ self.m.log.warning(_("Couldn't connect to host or connection resetted waiting 1 minute and retry."))
wait = time() + 60
while time() < wait:
sleep(1)