From a7e25a7e1f67fb0a8a47002bcb2bf2ff6f2c87fa Mon Sep 17 00:00:00 2001 From: GammaC0de Date: Fri, 9 Oct 2015 21:49:55 +0300 Subject: fix not deleting blacklisted hook plugins --- module/plugins/hooks/UpdateManager.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'module') 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": -- cgit v1.2.3