summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hook/XFileSharingPro.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hook/XFileSharingPro.py')
-rw-r--r--pyload/plugin/hook/XFileSharingPro.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyload/plugin/hook/XFileSharingPro.py b/pyload/plugin/hook/XFileSharingPro.py
index 9599c8180..9560cbd08 100644
--- a/pyload/plugin/hook/XFileSharingPro.py
+++ b/pyload/plugin/hook/XFileSharingPro.py
@@ -23,7 +23,6 @@ class XFileSharingPro(Hook):
# event_list = ["pluginConfigChanged"]
- interval = 0 #@TODO: Remove in 0.4.10
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+',
@@ -54,7 +53,7 @@ class XFileSharingPro(Hook):
use_builtin_list = self.getConfig('use_builtin_list')
for type in ("hoster", "crypter"):
- every_plugin = not self.getConfig("use_%s_list" % type)
+ every_plugin = not self.getConfig('use_%s_list' % type)
if every_plugin:
self.logInfo(_("Handling any %s I can!") % type)