summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/accounts/ShareonlineBiz.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-23 20:22:42 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-23 20:40:59 +0200
commit4a81799278ae003bfbd7897f7bcd1ef46642d953 (patch)
tree59e580fc761103cfacd9190bc9c55a5a01367f47 /pyload/plugins/accounts/ShareonlineBiz.py
parentlittle cleanup, added some tests (diff)
downloadpyload-4a81799278ae003bfbd7897f7bcd1ef46642d953.tar.xz
Fixed PEP 8 violations in Accounts
(cherry picked from commit f5535809bebc6cc343475704832c8fd8674d2d06) Conflicts: pyload/plugins/accounts/AlldebridCom.py pyload/plugins/accounts/Premium4Me.py pyload/plugins/accounts/PremiumizeMe.py pyload/plugins/accounts/RealdebridCom.py
Diffstat (limited to 'pyload/plugins/accounts/ShareonlineBiz.py')
-rw-r--r--pyload/plugins/accounts/ShareonlineBiz.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyload/plugins/accounts/ShareonlineBiz.py b/pyload/plugins/accounts/ShareonlineBiz.py
index fe2b412db..03babb5e6 100644
--- a/pyload/plugins/accounts/ShareonlineBiz.py
+++ b/pyload/plugins/accounts/ShareonlineBiz.py
@@ -19,6 +19,7 @@
from module.plugins.Account import Account
+
class ShareonlineBiz(Account):
__name__ = "ShareonlineBiz"
__version__ = "0.24"
@@ -29,7 +30,7 @@ class ShareonlineBiz(Account):
def getUserAPI(self, user, req):
return req.load("http://api.share-online.biz/account.php",
- {"username": user, "password": self.accounts[user]["password"], "act": "userDetails"})
+ {"username": user, "password": self.accounts[user]["password"], "act": "userDetails"})
def loadAccountInfo(self, user, req):
src = self.getUserAPI(user, req)
@@ -53,4 +54,4 @@ class ShareonlineBiz(Account):
def login(self, user, data, req):
src = self.getUserAPI(user, req)
if "EXCEPTION" in src:
- self.wrongPassword() \ No newline at end of file
+ self.wrongPassword()