summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/UlozToFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/UlozToFolder.py')
-rw-r--r--module/plugins/crypter/UlozToFolder.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/crypter/UlozToFolder.py b/module/plugins/crypter/UlozToFolder.py
index b78838cea..07ed13f4e 100644
--- a/module/plugins/crypter/UlozToFolder.py
+++ b/module/plugins/crypter/UlozToFolder.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 UlozToFolder(Crypter):
@@ -11,7 +12,7 @@ class UlozToFolder(Crypter):
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?(uloz\.to|ulozto\.(cz|sk|net)|bagruj\.cz|zachowajto\.pl)/(m|soubory)/.+'
- __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)]
@@ -46,3 +47,6 @@ class UlozToFolder(Crypter):
if new_links:
self.urls = [map(lambda s: "http://ulozto.net/%s" % s, new_links)]
+
+
+getInfo = create_getInfo(UlozToFolder)