summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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..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