summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-16 16:57:45 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-16 16:57:45 +0100
commit2dbcab828780e4b6c44caf93c86fbfc0667a5751 (patch)
treed0aa43a2a69506b241cd552abd69615d12ebefbe /module/plugins
parentclosed #420 (diff)
downloadpyload-2dbcab828780e4b6c44caf93c86fbfc0667a5751.tar.xz
ignore old UnRar plugin
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/PluginManager.py8
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