summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/HighWayMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
commitb1759bc440cd6013837697eb8de540914f693ffd (patch)
treed170caf63d7f65e44d23ea2d91a65759a1665928 /module/plugins/accounts/HighWayMe.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/accounts/HighWayMe.py')
-rw-r--r--module/plugins/accounts/HighWayMe.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/HighWayMe.py b/module/plugins/accounts/HighWayMe.py
index d85db9769..f6baaa0a1 100644
--- a/module/plugins/accounts/HighWayMe.py
+++ b/module/plugins/accounts/HighWayMe.py
@@ -7,21 +7,21 @@ from module.plugins.internal.Account import Account
class HighWayMe(Account):
__name__ = "HighWayMe.py"
__type__ = "account"
- __version__ = "0.03"
+ __version__ = "0.04"
__description__ = """High-Way.me account plugin"""
__license__ = "GPLv3"
__authors__ = [("EvolutionClip", "evolutionclip@live.de")]
- def loadAccountInfo(self, user, req):
+ def load_account_info(self, user, req):
premium = False
validuntil = -1
trafficleft = None
json_data = self.load('https://high-way.me/api.php?user', req=req)
- self.logDebug("JSON data: %s" % json_data)
+ self.log_debug("JSON data: %s" % json_data)
json_data = json_loads(json_data)
@@ -44,4 +44,4 @@ class HighWayMe(Account):
post={'login': '1', 'user': user, 'pass': data['password']}, req=req)
if 'UserOrPassInvalid' in html:
- self.wrongPassword()
+ self.wrong_password()