summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/QuickshareCzFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/QuickshareCzFolder.py')
-rw-r--r--module/plugins/crypter/QuickshareCzFolder.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/crypter/QuickshareCzFolder.py b/module/plugins/crypter/QuickshareCzFolder.py
index cb51392f2..0a65738ab 100644
--- a/module/plugins/crypter/QuickshareCzFolder.py
+++ b/module/plugins/crypter/QuickshareCzFolder.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 QuickshareCzFolder(Crypter):
@@ -11,7 +12,7 @@ class QuickshareCzFolder(Crypter):
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?quickshare\.cz/slozka-\d+'
- __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)]
@@ -31,3 +32,6 @@ class QuickshareCzFolder(Crypter):
if m is None:
self.error(_("FOLDER_PATTERN not found"))
self.urls.extend(re.findall(self.LINK_PATTERN, m.group(1)))
+
+
+getInfo = create_getInfo(QuickshareCzFolder)