diff options
-rw-r--r-- | module/PluginThread.py | 2 | ||||
-rw-r--r-- | module/plugins/Plugin.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index 4f138f858..84ddc6115 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -183,6 +183,8 @@ class DownloadThread(PluginThread): except Retry: + #todo: ouput + self.m.log.info(_("Download restarted: %s") % pyfile.name) self.queue.put(pyfile) continue diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 73ce808a6..0b47187e3 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -251,6 +251,7 @@ class Plugin(object): t = time() + wait_time while t > time() : if self.pyfile.abort: raise Abort + sleep(0.25) self.retries += 1 raise Retry(reason) |