summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hook/XFileSharingPro.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 18:15:41 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 18:15:41 +0100
commit181ab47c5f775b8b48569361da6b88a801784a30 (patch)
treef5f6d1d6b75b7f21b89b33733c3536e5ca80e087 /pyload/plugin/hook/XFileSharingPro.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-181ab47c5f775b8b48569361da6b88a801784a30.tar.xz
Cleanup
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)