summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegauploadCom.py
diff options
context:
space:
mode:
authorGravatar Paul King <devnull@localhost> 2011-05-14 11:15:32 +0200
committerGravatar Paul King <devnull@localhost> 2011-05-14 11:15:32 +0200
commit4290322f2de1dcc5a6c1cc15ffbce91a7cf734af (patch)
treeca42941e1972459fce766dc36769de239ef92619 /module/plugins/hoster/MegauploadCom.py
parentfix last commit (diff)
downloadpyload-4290322f2de1dcc5a6c1cc15ffbce91a7cf734af.tar.xz
revert premium account change see #309
Diffstat (limited to 'module/plugins/hoster/MegauploadCom.py')
-rw-r--r--module/plugins/hoster/MegauploadCom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/MegauploadCom.py b/module/plugins/hoster/MegauploadCom.py
index 5c893f5df..8aa37c47d 100644
--- a/module/plugins/hoster/MegauploadCom.py
+++ b/module/plugins/hoster/MegauploadCom.py
@@ -54,13 +54,15 @@ class MegauploadCom(Hoster):
__name__ = "MegauploadCom"
__type__ = "hoster"
__pattern__ = r"http://[\w\.]*?(megaupload)\.com/.*?(\?|&)d=[0-9A-Za-z]+"
- __version__ = "0.21"
+ __version__ = "0.22"
__description__ = """Megaupload.com Download Hoster"""
__author_name__ = ("spoob")
__author_mail__ = ("spoob@pyload.org")
def init(self):
self.html = [None, None]
+ if self.account:
+ self.premium = self.account.getAccountInfo(self.user)["premium"]
if not self.premium:
self.multiDL = False