summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/NCryptIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-27 23:05:13 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-27 23:05:13 +0100
commitaa0751bcfd995e308bcd586a6965c75e68b1274b (patch)
tree8eba27735d57ca5b7137588efe219f845734de17 /module/plugins/crypter/NCryptIn.py
parent[Api] Fix addPackage folder generator (diff)
downloadpyload-aa0751bcfd995e308bcd586a6965c75e68b1274b.tar.xz
Code cosmetics
Diffstat (limited to 'module/plugins/crypter/NCryptIn.py')
-rw-r--r--module/plugins/crypter/NCryptIn.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/crypter/NCryptIn.py b/module/plugins/crypter/NCryptIn.py
index 801afc50b..7d82cba7a 100644
--- a/module/plugins/crypter/NCryptIn.py
+++ b/module/plugins/crypter/NCryptIn.py
@@ -73,9 +73,8 @@ class NCryptIn(Crypter):
package_links = set(package_links)
# Pack and return links
- if not package_links:
- self.fail(_("Could not extract any links"))
- self.packages = [(package_name, package_links, folder_name)]
+ if package_links:
+ self.packages = [(package_name, package_links, folder_name)]
def isSingleLink(self):