summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/Crypter.py
diff options
context:
space:
mode:
authorGravatar Koch Michael <charlie8913@gmail.com> 2014-06-01 20:23:56 +0200
committerGravatar Koch Michael <charlie8913@gmail.com> 2014-06-01 20:23:56 +0200
commitfd5d654d1833be335c21c20724032c4438d7d8bc (patch)
tree008319d70ef9df3147a8a216aea29923a7feb805 /pyload/plugins/Crypter.py
parentMerge branch 'fix-uploadedto' (diff)
parentadded missing argument (diff)
downloadpyload-fd5d654d1833be335c21c20724032c4438d7d8bc.tar.xz
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'pyload/plugins/Crypter.py')
-rw-r--r--pyload/plugins/Crypter.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pyload/plugins/Crypter.py b/pyload/plugins/Crypter.py
index b6bdb1edd..e3b373dbb 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(self):
+ """ 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