summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-05-07 15:33:51 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-05-07 15:33:51 +0200
commit94bf4d8c175622e425dcb19958d7692e8f979d36 (patch)
treefe1d5caeef73bdb64311fc8c2266adda6c7e8f5e
parentUpdate Manager updated to use the new platform (diff)
downloadpyload-94bf4d8c175622e425dcb19958d7692e8f979d36.tar.xz
Update Manager: fixed exception if there is no blacklist
-rw-r--r--module/plugins/hooks/UpdateManager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py
index afac7aa3a..b91f3b3c6 100644
--- a/module/plugins/hooks/UpdateManager.py
+++ b/module/plugins/hooks/UpdateManager.py
@@ -154,7 +154,8 @@ class UpdateManager(Hook):
reloads.append((prefix, name))
- self.executeBlacklist(blacklist)
+ if blacklist:
+ self.executeBlacklist(blacklist)
self.reloaded = self.core.pluginManager.reloadPlugins(reloads)