summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/MegauploadCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/MegauploadCom.py b/module/plugins/hoster/MegauploadCom.py
index f73ecf308..5c893f5df 100644
--- a/module/plugins/hoster/MegauploadCom.py
+++ b/module/plugins/hoster/MegauploadCom.py
@@ -130,7 +130,7 @@ class MegauploadCom(Hoster):
self.fail(_("You need premium to download files larger than 1 GB"))
if r'Please enter the password below' in self.html[0]:
- pw = self.pyfile.package().password
+ pw = self.getPassword()
if not pw:
self.fail(_("The file is password protected, enter a password and restart."))