summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 19:55:37 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 19:55:37 +0200
commita59a0d1e2420419fed57ab281d30c6be8d3a9a1e (patch)
tree8d4e70871376d41e850f75f6b1d8b98eebafd58f /module
parent[SpeedyshareCom] Code cleanup (diff)
downloadpyload-a59a0d1e2420419fed57ab281d30c6be8d3a9a1e.tar.xz
[XFileSharingPro] Fixed typo
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/XFileSharingPro.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py
index cd53c98b0..233a1fed3 100644
--- a/module/plugins/hoster/XFileSharingPro.py
+++ b/module/plugins/hoster/XFileSharingPro.py
@@ -21,7 +21,7 @@ class XFileSharingPro(SimpleHoster):
"""
__name__ = "XFileSharingPro"
__type__ = "hoster"
- __version__ = "0.35"
+ __version__ = "0.36"
__pattern__ = r'^unmatchable$'
@@ -72,7 +72,7 @@ class XFileSharingPro(SimpleHoster):
if not self.HOSTER_NAME:
self.fail("Missing HOSTER_NAME")
- if not LINK_PATTERN:
+ if not self.LINK_PATTERN:
pattr = r'(http://([^/]*?%s|\d+\.\d+\.\d+\.\d+)(:\d+)?(/d/|(?:/files)?/\d+/\w+/)[^"\'<]+)'
self.LINK_PATTERN = pattr % self.HOSTER_NAME