diff options
author | Paul King <devnull@localhost> | 2011-05-07 10:08:17 +0200 |
---|---|---|
committer | Paul King <devnull@localhost> | 2011-05-07 10:08:17 +0200 |
commit | 00b94bec25f12ffe27486ecd90c819124ef4bd73 (patch) | |
tree | 5738687570e8480c6848fbcc32d9098437849252 /module/plugins/hoster | |
parent | Fix 294 - refactor plugin (diff) | |
parent | easier implementation of free accounts (diff) | |
download | pyload-00b94bec25f12ffe27486ecd90c819124ef4bd73.tar.xz |
merged
Diffstat (limited to 'module/plugins/hoster')
-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=") |