From c3b3f3ea5c813edbe3e6941c535c78ad494244ee Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 11 Oct 2015 01:04:09 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1998 Fix https://github.com/pyload/pyload/issues/1999 Fix https://github.com/pyload/pyload/issues/2001 --- module/plugins/crypter/LinkCryptWs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/plugins/crypter/LinkCryptWs.py') diff --git a/module/plugins/crypter/LinkCryptWs.py b/module/plugins/crypter/LinkCryptWs.py index 8fff032a0..4f3cceebb 100644 --- a/module/plugins/crypter/LinkCryptWs.py +++ b/module/plugins/crypter/LinkCryptWs.py @@ -12,12 +12,13 @@ from module.utils import html_unescape class LinkCryptWs(Crypter): - __name = "LinkCryptWs" + __name__ = "LinkCryptWs" __type__ = "crypter" __version__ = "0.12" __status__ = "testing" __pattern__ = r'http://(?:www\.)?linkcrypt\.ws/(dir|container)/(?P\w+)' + __config__ = [("activated", "bool", "Activated", True)] __description__ = """LinkCrypt.ws decrypter plugin""" __license__ = "GPLv3" @@ -37,7 +38,7 @@ class LinkCryptWs(Crypter): def prepare(self): #: Init - self.fileid = re.match(self.__pattern, self.pyfile.url).group('ID') + self.fileid = re.match(self.__pattern__, self.pyfile.url).group('ID') self.req.cj.setCookie("linkcrypt.ws", "language", "en") -- cgit v1.2.3