summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/NCryptIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:09:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:15:53 +0100
commitb25bc61dd47d8d3c42969bd0f72443b21c4b059e (patch)
tree6115841c9763289bd400c6171508f397d3526bf5 /module/plugins/crypter/NCryptIn.py
parent[ZippyshareCom] Typo (diff)
downloadpyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter/NCryptIn.py')
-rw-r--r--module/plugins/crypter/NCryptIn.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/crypter/NCryptIn.py b/module/plugins/crypter/NCryptIn.py
index ecb913586..20e7c72e2 100644
--- a/module/plugins/crypter/NCryptIn.py
+++ b/module/plugins/crypter/NCryptIn.py
@@ -303,8 +303,7 @@ class NCryptIn(Crypter):
# Extract links
text = text.replace("\x00", "").replace("\r", "")
- links = text.split("\n")
- links = filter(lambda x: x != "", links)
+ links = filter(bool, text.split('\n'))
# Log and return
self.logDebug("Block has %d links" % len(links))