summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar GamaC0de <nitzo2001@yahoo.com> 2016-06-14 01:45:55 +0200
committerGravatar GamaC0de <nitzo2001@yahoo.com> 2016-06-14 01:45:55 +0200
commit75b9dd261c7df0c70cd33a36af57235f2810a1b4 (patch)
tree91365b1b68db7216e5ffca0e13fa6307a43d08d6 /module
parent[FilefactoryCom] Fix #2498 (diff)
downloadpyload-75b9dd261c7df0c70cd33a36af57235f2810a1b4.tar.xz
[SimpleCrypter] fix #2499
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/SimpleCrypter.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py
index 88a999d5e..6372cba7f 100644
--- a/module/plugins/internal/SimpleCrypter.py
+++ b/module/plugins/internal/SimpleCrypter.py
@@ -11,7 +11,7 @@ from module.plugins.internal.misc import parse_name, replace_patterns
class SimpleCrypter(Crypter):
__name__ = "SimpleCrypter"
__type__ = "crypter"
- __version__ = "0.84"
+ __version__ = "0.85"
__status__ = "testing"
__pattern__ = r'^unmatchable$'
@@ -207,7 +207,8 @@ class SimpleCrypter(Crypter):
self._preload()
self.check_errors()
- self.links.extend(self.get_links())
+ links = self.get_links()
+ self.links.extend(links)
if self.PAGES_PATTERN:
self.handle_pages(pyfile)
@@ -249,7 +250,10 @@ class SimpleCrypter(Crypter):
self.log_info(_("Decrypting as free link..."))
self.handle_free(self.pyfile)
- return self.links
+ links = self.links
+ self.links = []
+
+ return links
def load_page(self, number):