summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/NCryptIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-22 16:45:04 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-22 16:45:04 +0100
commit854efeb463bd98cb8e22f1f78f5ce97e6c0ab49f (patch)
tree3128578d89f36fed0aa5ab7b3ede6311751dd7f8 /module/plugins/crypter/NCryptIn.py
parent[UlozTo] Fix TRAFFIC_LEFT_PATTERN (diff)
downloadpyload-854efeb463bd98cb8e22f1f78f5ce97e6c0ab49f.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter/NCryptIn.py')
-rw-r--r--module/plugins/crypter/NCryptIn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/NCryptIn.py b/module/plugins/crypter/NCryptIn.py
index 1d572e538..8b7214157 100644
--- a/module/plugins/crypter/NCryptIn.py
+++ b/module/plugins/crypter/NCryptIn.py
@@ -15,7 +15,7 @@ class NCryptIn(Crypter):
__type__ = "crypter"
__version__ = "1.33"
- __pattern__ = r'http://(?:www\.)?ncrypt\.in/(?P<type>folder|link|frame)-([^/\?]+)'
+ __pattern__ = r'http://(?:www\.)?ncrypt\.in/(?P<TYPE>folder|link|frame)-([^/\?]+)'
__config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
@@ -80,7 +80,7 @@ class NCryptIn(Crypter):
def isSingleLink(self):
- link_type = re.match(self.__pattern__, self.pyfile.url).group('type')
+ link_type = re.match(self.__pattern__, self.pyfile.url).group('TYPE')
return link_type in ("link", "frame")