diff options
Diffstat (limited to 'module/plugins/Crypter.py')
-rw-r--r-- | module/plugins/Crypter.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/Crypter.py b/module/plugins/Crypter.py index 61cdeddc9..80a838578 100644 --- a/module/plugins/Crypter.py +++ b/module/plugins/Crypter.py @@ -10,7 +10,8 @@ class Crypter(Plugin): __version__ = "0.2" __pattern__ = None - __config__ = [] #: [("name", "type", "desc", "default")] + __config__ = [("use_subfolder", "bool", "Save package to subfolder", True), #: Overrides core.config['general']['folder_per_package'] + ("subfolder_per_package", "bool", "Create a subfolder for each package", True)] __description__ = """Base decrypter plugin""" __license__ = "GPLv3" @@ -24,9 +25,6 @@ class Crypter(Plugin): #: List of urls, pyLoad will generate packagenames self.urls = [] - self.__config__.extend([("use_subfolder", "bool", "Save package to subfolder", True), #: Overrides core.config['general']['folder_per_package'] - ("subfolder_per_package", "bool", "Create a subfolder for each package", True)]) - Plugin.__init__(self, pyfile) |