summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-24 12:20:41 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-24 12:20:41 +0100
commit9538fd00584d24c871a3c6b4f47446e187348ff9 (patch)
tree0ff014bc1ef49bdaa82ebc6774761a7df2229144 /module/plugins/hoster
parentShareOnline Premium, OronCom updates (diff)
downloadpyload-9538fd00584d24c871a3c6b4f47446e187348ff9.tar.xz
fix SO for new account manager
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/ShareonlineBiz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py
index d355eeffe..641a9b025 100644
--- a/module/plugins/hoster/ShareonlineBiz.py
+++ b/module/plugins/hoster/ShareonlineBiz.py
@@ -52,7 +52,7 @@ class ShareonlineBiz(Hoster):
self.multiDL = False
self.chunkLimit = 1
- if self.account and self.account.isPremium(self.user):
+ if self.premium:
self.multiDL = True
def process(self, pyfile):
@@ -60,7 +60,7 @@ class ShareonlineBiz(Hoster):
pyfile.name = self.api_data["filename"]
pyfile.sync()
- if self.account and self.account.isPremium(self.user):
+ if self.premium:
self.handleAPIPremium()
#self.handleWebsitePremium()
else:
@@ -127,7 +127,7 @@ class ShareonlineBiz(Hoster):
def handleAPIPremium(self): #should be working better
self.resumeDownload = True
- info = self.account.getUserAPI(self.user, self.req)
+ info = self.account.getUserAPI(self.req)
if info["dl"].lower() == "not_available":
self.fail("DL API error")
self.req.cj.setCookie("share-online.biz", "dl", info["dl"])