From b1759bc440cd6013837697eb8de540914f693ffd Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 7 Jul 2015 01:23:55 +0200 Subject: No camelCase style anymore --- module/plugins/accounts/FastshareCz.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/plugins/accounts/FastshareCz.py') diff --git a/module/plugins/accounts/FastshareCz.py b/module/plugins/accounts/FastshareCz.py index 54253041c..be3a91a16 100644 --- a/module/plugins/accounts/FastshareCz.py +++ b/module/plugins/accounts/FastshareCz.py @@ -8,7 +8,7 @@ from module.plugins.internal.Account import Account class FastshareCz(Account): __name__ = "FastshareCz" __type__ = "account" - __version__ = "0.07" + __version__ = "0.08" __description__ = """Fastshare.cz account plugin""" __license__ = "GPLv3" @@ -19,7 +19,7 @@ class FastshareCz(Account): CREDIT_PATTERN = r'Credit\s*:\s*\s*(.+?)\s*<' - def loadAccountInfo(self, user, req): + def load_account_info(self, user, req): validuntil = -1 trafficleft = None premium = False @@ -28,7 +28,7 @@ class FastshareCz(Account): m = re.search(self.CREDIT_PATTERN, html) if m: - trafficleft = self.parseTraffic(m.group(1)) + trafficleft = self.parse_traffic(m.group(1)) premium = bool(trafficleft) @@ -46,4 +46,4 @@ class FastshareCz(Account): post={'login': user, 'heslo': data['password']}, req=req) if ">Wrong username or password" in html: - self.wrongPassword() + self.wrong_password() -- cgit v1.2.3