From f5535809bebc6cc343475704832c8fd8674d2d06 Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 23 Jul 2013 20:22:42 +0200 Subject: Fixed PEP 8 violations in Accounts --- module/plugins/accounts/ShareonlineBiz.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/plugins/accounts/ShareonlineBiz.py') diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py index fe2b412db..03babb5e6 100644 --- a/module/plugins/accounts/ShareonlineBiz.py +++ b/module/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() -- cgit v1.2.3