diff options
author | Paul King <devnull@localhost> | 2011-05-14 11:15:32 +0200 |
---|---|---|
committer | Paul King <devnull@localhost> | 2011-05-14 11:15:32 +0200 |
commit | 4290322f2de1dcc5a6c1cc15ffbce91a7cf734af (patch) | |
tree | ca42941e1972459fce766dc36769de239ef92619 /module/plugins/hoster/MegauploadCom.py | |
parent | fix last commit (diff) | |
download | pyload-4290322f2de1dcc5a6c1cc15ffbce91a7cf734af.tar.xz |
revert premium account change see #309
Diffstat (limited to 'module/plugins/hoster/MegauploadCom.py')
-rw-r--r-- | module/plugins/hoster/MegauploadCom.py | 4 |
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 |