From d53f3b99a1f5176caa94fcbdd3e3fe59f346ece1 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 17 Sep 2013 14:23:28 +0200 Subject: more fixes for py2.5 --- pyload/plugins/Crypter.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'pyload/plugins/Crypter.py') diff --git a/pyload/plugins/Crypter.py b/pyload/plugins/Crypter.py index 2f5584074..cce43fb56 100644 --- a/pyload/plugins/Crypter.py +++ b/pyload/plugins/Crypter.py @@ -135,8 +135,6 @@ class Crypter(Base): self.package = package #: Password supplied by user self.password = password - #: Propose a renaming of the owner package - self.rename = None # For old style decrypter, do not use these! self.packages = [] @@ -236,10 +234,9 @@ class Crypter(Base): :return: Decrypting results """ try: - return self._decrypt(urls) + return to_list(self._decrypt(urls)) except Exception: - if self.core.debug: - print_exc() + self.core.print_exc() return [] def getLocalContent(self, urls): -- cgit v1.2.3