Don't load a GENERAL lib if hidden
svn: r15813
This commit is contained in:
parent
47e3d110d5
commit
1f9eee3d92
@ -130,6 +130,8 @@ class BasePluginManager(object):
|
||||
# Run plugins that request to be loaded on startup and
|
||||
# have a load_on_reg callable.
|
||||
for plugin in self.__pgr.filter_load_on_reg():
|
||||
if plugin.id in config.get("plugin.hiddenplugins"):
|
||||
continue
|
||||
mod = self.load_plugin(plugin)
|
||||
if hasattr(mod, "load_on_reg"):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user