From a59a0d1e2420419fed57ab281d30c6be8d3a9a1e Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 28 Sep 2014 19:55:37 +0200 Subject: [XFileSharingPro] Fixed typo --- module/plugins/hoster/XFileSharingPro.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module') 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 -- cgit v1.2.3