diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-06 19:30:41 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-06 19:30:41 +0200 |
commit | 83e0d2c49dee1bc6e1263cbba37591c612a205dd (patch) | |
tree | d38bda5be1528489a44a7a46d4d4d25ea2aea4b4 /module/plugins/hoster/MegauploadCom.py | |
parent | FilesonicCom API fix, New hoster FilefactoryCom (diff) | |
download | pyload-83e0d2c49dee1bc6e1263cbba37591c612a205dd.tar.xz |
easier implementation of free accounts
Diffstat (limited to 'module/plugins/hoster/MegauploadCom.py')
-rw-r--r-- | module/plugins/hoster/MegauploadCom.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/module/plugins/hoster/MegauploadCom.py b/module/plugins/hoster/MegauploadCom.py index 9e5081fd3..f73ecf308 100644 --- a/module/plugins/hoster/MegauploadCom.py +++ b/module/plugins/hoster/MegauploadCom.py @@ -62,13 +62,9 @@ class MegauploadCom(Hoster): 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 - self.chunkLimit = 1 - else: + if not self.premium: self.multiDL = False + self.chunkLimit = 1 self.api = {} none, sep, self.fileID = self.pyfile.url.partition("d=") |