From 81d50016d902df49208ee606ada7d69325a7ea15 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 1 Jun 2014 18:46:15 +0200 Subject: implemented deprecated method for some crypter --- pyload/plugins/Crypter.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyload/plugins/Crypter.py b/pyload/plugins/Crypter.py index b6bdb1edd..d2a9482d1 100644 --- a/pyload/plugins/Crypter.py +++ b/pyload/plugins/Crypter.py @@ -286,6 +286,11 @@ class Crypter(Base): """ Retry decrypting, will only work once. Somewhat deprecated method, should be avoided. """ raise Retry() + def getPassword(): + """ Deprecated """ + self.logDebug("Deprecated method .getPassword(), use self.password instead.") + return self.password + def convertPackages(self): """ Deprecated """ self.logDebug("Deprecated method .convertPackages()") @@ -300,4 +305,4 @@ class Crypter(Base): def clean(self): if hasattr(self, "req"): self.req.close() - del self.req \ No newline at end of file + del self.req -- cgit v1.2.3