From c9144f451b74e4d3cc67935b9e73c662ac870c6e Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 15 Jun 2015 07:18:39 +0200 Subject: Hook plugin code cosmetics (2) --- module/plugins/hooks/XFileSharingPro.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hooks/XFileSharingPro.py') diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py index 10ca4fb9b..f13a78d4a 100644 --- a/module/plugins/hooks/XFileSharingPro.py +++ b/module/plugins/hooks/XFileSharingPro.py @@ -53,7 +53,7 @@ class XFileSharingPro(Hook): # self.event_list = ["pluginConfigChanged"] - def coreReady(self): + def activate(self): self.loadPattern() @@ -104,7 +104,7 @@ class XFileSharingPro(Hook): dict['re'] = re.compile(dict['pattern']) - def unload(self): + def deactivate(self): # self.unloadHoster("BasePlugin") for type, plugin in (("hoster", "XFileSharingPro"), ("crypter", "XFileSharingProFolder")): -- cgit v1.2.3