diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-06-01 18:46:15 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-06-01 18:46:15 +0200 |
commit | 81d50016d902df49208ee606ada7d69325a7ea15 (patch) | |
tree | 4fd7e07ebaf7e73ef2335dfb59eee28feb4d6232 | |
parent | small fix for info fetching (diff) | |
download | pyload-81d50016d902df49208ee606ada7d69325a7ea15.tar.xz |
implemented deprecated method for some crypter
-rw-r--r-- | pyload/plugins/Crypter.py | 7 |
1 files changed, 6 insertions, 1 deletions
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 |