diff options
Diffstat (limited to 'module/plugins/crypter/CzshareComFolder.py')
-rw-r--r-- | module/plugins/crypter/CzshareComFolder.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/crypter/CzshareComFolder.py b/module/plugins/crypter/CzshareComFolder.py index d39f7d2a2..e671afd14 100644 --- a/module/plugins/crypter/CzshareComFolder.py +++ b/module/plugins/crypter/CzshareComFolder.py @@ -1,7 +1,8 @@ # -*- coding: utf-8 -*- import re -from module.plugins.internal.Crypter import Crypter + +from module.plugins.internal.Crypter import Crypter, create_getInfo class CzshareComFolder(Crypter): @@ -11,7 +12,7 @@ class CzshareComFolder(Crypter): __status__ = "testing" __pattern__ = r'http://(?:www\.)?(czshare|sdilej)\.(com|cz)/folders/.+' - __config__ = [("activated", "bool", "Activated", 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)] @@ -32,3 +33,6 @@ class CzshareComFolder(Crypter): self.error(_("FOLDER_PATTERN not found")) self.urls.extend(re.findall(self.LINK_PATTERN, m.group(1))) + + +getInfo = create_getInfo(CzshareComFolder) |