diff options
author | Stefano <l.stickell@yahoo.it> | 2014-05-07 15:33:51 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-05-07 15:33:51 +0200 |
commit | 94bf4d8c175622e425dcb19958d7692e8f979d36 (patch) | |
tree | fe1d5caeef73bdb64311fc8c2266adda6c7e8f5e | |
parent | Update Manager updated to use the new platform (diff) | |
download | pyload-94bf4d8c175622e425dcb19958d7692e8f979d36.tar.xz |
Update Manager: fixed exception if there is no blacklist
-rw-r--r-- | module/plugins/hooks/UpdateManager.py | 3 |
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) |