summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index b69b919d3..ac7c785ca 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -450,6 +450,12 @@ class Core(object):
#self.scheduler.addJob(0, self.accountManager.getAccountInfos)
self.log.info(_("Activating Accounts..."))
self.accountManager.refreshAllAccounts()
+
+ #restart failed
+ if self.config["download"]["restart_failed"]:
+ self.log.info(_("Restarting failed downloads..."))
+ self.api.restartFailed()
+
self.threadManager.pause = False
self.running = True