summaryrefslogtreecommitdiffstats
path: root/module/PluginThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r--module/PluginThread.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py
index d5f969f80..67148e325 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -223,6 +223,9 @@ class DownloadThread(PluginThread):
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
+
+ pyfile.waitUntil = wait
+ pyfile.setStatus("waiting")
while time() < wait:
sleep(1)
if pyfile.abort: