diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/PluginManager.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py index e6ad14b66..1aaa4593e 100644 --- a/module/plugins/PluginManager.py +++ b/module/plugins/PluginManager.py @@ -137,14 +137,14 @@ class PluginManager: module = f.replace(".pyc", "").replace(".py", "") if home: - if name in IGNORE: - del plugins[name] - continue - user = True else: user = False + if name in IGNORE or (folder, name) in IGNORE: + del plugins[name] + continue + # the plugin is loaded from user directory plugins[name]["user"] = user plugins[name]["name"] = module |