summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegauploadCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/MegauploadCom.py')
-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=")