diff options
| author | 2015-10-11 01:04:09 +0200 | |
|---|---|---|
| committer | 2015-10-11 01:04:09 +0200 | |
| commit | c3b3f3ea5c813edbe3e6941c535c78ad494244ee (patch) | |
| tree | 6a76a01cdf3d5fe678e02618bdbe7d0c5ce8ca8c /module/plugins/crypter/LixIn.py | |
| parent | Fix https://github.com/pyload/pyload/issues/2002 (diff) | |
| download | pyload-c3b3f3ea5c813edbe3e6941c535c78ad494244ee.tar.xz | |
Fix https://github.com/pyload/pyload/issues/1998
Fix https://github.com/pyload/pyload/issues/1999
Fix https://github.com/pyload/pyload/issues/2001
Diffstat (limited to 'module/plugins/crypter/LixIn.py')
| -rw-r--r-- | module/plugins/crypter/LixIn.py | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/module/plugins/crypter/LixIn.py b/module/plugins/crypter/LixIn.py index 49ca7e020..853240b44 100644 --- a/module/plugins/crypter/LixIn.py +++ b/module/plugins/crypter/LixIn.py @@ -7,13 +7,14 @@ from module.plugins.internal.Crypter import Crypter  class LixIn(Crypter): -    __name      = "LixIn" +    __name__    = "LixIn"      __type__    = "crypter"      __version__ = "0.24"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?lix\.in/(?P<ID>.+)' -    __config__  = [("use_subfolder"     , "bool", "Save package to subfolder"          , True), +    __config__  = [("activated", "bool", "Activated", True), +                   ("use_subfolder"     , "bool", "Save package to subfolder"          , True),                     ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)]      __description__ = """Lix.in decrypter plugin""" @@ -29,7 +30,7 @@ class LixIn(Crypter):      def decrypt(self, pyfile):          url = pyfile.url -        m = re.match(self.__pattern, url) +        m = re.match(self.__pattern__, url)          if m is None:              self.error(_("Unable to identify file ID")) | 
