diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-18 16:01:23 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-18 16:01:23 +0100 |
commit | 753b3c9daee9926c84d4053864af2079fcfc8557 (patch) | |
tree | 64c116ba63aee250448d6c777116e9b2a29e5d06 /module/plugins/hooks/XFileSharingPro.py | |
parent | [XFileSharingPro] Fix typo (diff) | |
download | pyload-753b3c9daee9926c84d4053864af2079fcfc8557.tar.xz |
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/hooks/XFileSharingPro.py')
-rw-r--r-- | module/plugins/hooks/XFileSharingPro.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py index 54b1e27e6..b7b5eed73 100644 --- a/module/plugins/hooks/XFileSharingPro.py +++ b/module/plugins/hooks/XFileSharingPro.py @@ -8,7 +8,7 @@ from module.plugins.Hook import Hook class XFileSharingPro(Hook): __name__ = "XFileSharingPro" __type__ = "hook" - __version__ = "0.35" + __version__ = "0.36" __config__ = [("activated" , "bool", "Activated" , True ), ("use_hoster_list" , "bool", "Load listed hosters only" , False), @@ -22,7 +22,7 @@ class XFileSharingPro(Hook): __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - event_list = ["pluginConfigChanged"] + # event_list = ["pluginConfigChanged"] regexp = {'hoster' : (r'https?://(?:www\.)?(?P<DOMAIN>[\w\-.^_]{3,63}(?:\.[a-zA-Z]{2,})(?:\:\d+)?)/(?:embed-)?\w{12}(?:\W|$)', r'https?://(?:[^/]+\.)?(?P<DOMAIN>%s)/(?:embed-)?\w+'), 'crypter': (r'https?://(?:www\.)?(?P<DOMAIN>[\w\-.^_]{3,63}(?:\.[a-zA-Z]{2,})(?:\:\d+)?)/(?:user|folder)s?/\w+', @@ -41,8 +41,8 @@ class XFileSharingPro(Hook): CRYPTER_BUILTIN = ["junocloud.me", "rapidfileshare.net"] - def pluginConfigChanged(self, plugin, name, value): - self.loadPattern() + # def pluginConfigChanged(self, plugin, name, value): + # self.loadPattern() #@TODO: Remove in 0.4.10 |