From 75b9dd261c7df0c70cd33a36af57235f2810a1b4 Mon Sep 17 00:00:00 2001 From: GamaC0de Date: Tue, 14 Jun 2016 02:45:55 +0300 Subject: [SimpleCrypter] fix #2499 --- module/plugins/internal/SimpleCrypter.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'module') 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): -- cgit v1.2.3