summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-10-09 20:49:55 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-10-09 20:49:55 +0200
commita7e25a7e1f67fb0a8a47002bcb2bf2ff6f2c87fa (patch)
tree9d07c7116ae3248db95070b9a14ffe69af3ac10b /module
parentFix https://github.com/pyload/pyload/issues/1962 (and many other tickets) (diff)
downloadpyload-a7e25a7e1f67fb0a8a47002bcb2bf2ff6f2c87fa.tar.xz
fix not deleting blacklisted hook plugins
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/UpdateManager.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py
index 96b563ddf..bbdc65b86 100644
--- a/module/plugins/hooks/UpdateManager.py
+++ b/module/plugins/hooks/UpdateManager.py
@@ -16,7 +16,7 @@ from module.utils import fs_encode, save_join as fs_join
class UpdateManager(Addon):
__name__ = "UpdateManager"
__type__ = "hook"
- __version__ = "0.57"
+ __version__ = "0.58"
__status__ = "testing"
__config__ = [("activated" , "bool", "Activated" , True ),
@@ -311,6 +311,11 @@ class UpdateManager(Addon):
for dir in ("userplugins", rootplugins):
py_filename = fs_join(dir, type, name + ".py")
+
+ #@TODO: Remove in 0.4.10
+ if type == "hook":
+ py_filename = fs_join(dir, type + "s" , name + ".py")
+
pyc_filename = py_filename + "c"
if type == "hook":