summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Paul King <devnull@localhost> 2011-05-07 10:08:17 +0200
committerGravatar Paul King <devnull@localhost> 2011-05-07 10:08:17 +0200
commit00b94bec25f12ffe27486ecd90c819124ef4bd73 (patch)
tree5738687570e8480c6848fbcc32d9098437849252 /module/plugins/hoster
parentFix 294 - refactor plugin (diff)
parenteasier implementation of free accounts (diff)
downloadpyload-00b94bec25f12ffe27486ecd90c819124ef4bd73.tar.xz
merged
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/MegauploadCom.py8
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=")