From 67802003c5b5b4a3661b0f4805ba8e49a5893bbf Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 13 Aug 2010 19:56:30 +0200 Subject: sleep fix --- module/PluginThread.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module/PluginThread.py') 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 += "\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 -- cgit v1.2.3