summaryrefslogtreecommitdiffstats
path: root/module/PluginThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-07 22:50:26 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-07 22:50:26 +0200
commitc2029bf97a5b9c2e06473ad352b7dd174a06a648 (patch)
treef44c54e79bb648845209e8bb75b34fe33efeb9cf /module/PluginThread.py
parentclosed #149 (diff)
downloadpyload-c2029bf97a5b9c2e06473ad352b7dd174a06a648.tar.xz
new locale
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)