diff options
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")) |