diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-13 19:56:30 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-13 19:56:30 +0200 |
commit | 67802003c5b5b4a3661b0f4805ba8e49a5893bbf (patch) | |
tree | c3269761a66a50dd5946cf65d20bbba9c9693887 /module | |
parent | detailed debug reports (diff) | |
download | pyload-67802003c5b5b4a3661b0f4805ba8e49a5893bbf.tar.xz |
sleep fix
Diffstat (limited to 'module')
-rw-r--r-- | module/PluginThread.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index 22ff9b9c9..bbcfb4217 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -128,6 +128,7 @@ class DownloadThread(PluginThread): if code == 7: self.m.log.warning(_("Couldn't connect to host waiting 1 minute and retry.")) + sleep(60) self.queue.put(pyfile) continue @@ -165,7 +166,7 @@ class DownloadThread(PluginThread): dump += "<ERROR WHILE PRINTING VALUE>\n" if hasattr(pyfile.plugin, "html"): - dump += "HTML DUMP:\n\n %s" % pyfile.plugin.html + dump += "HTML DUMP:\n\n %s" % pformat(pyfile.plugin.html) dump_name = "debug_%s.txt" % pyfile.pluginname |