diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-20 18:43:15 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-27 22:46:01 +0100 |
commit | 5deded62d94c04be64d34f6b67d07803eea9b6bf (patch) | |
tree | a33f82a6208b3a922bf5e1883f134a1fb86a9217 /module/plugins/accounts/HighWayMe.py | |
parent | Update addons (diff) | |
download | pyload-5deded62d94c04be64d34f6b67d07803eea9b6bf.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/accounts/HighWayMe.py')
-rw-r--r-- | module/plugins/accounts/HighWayMe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/HighWayMe.py b/module/plugins/accounts/HighWayMe.py index b2759e63b..13807c99f 100644 --- a/module/plugins/accounts/HighWayMe.py +++ b/module/plugins/accounts/HighWayMe.py @@ -20,8 +20,8 @@ class HighWayMe(MultiAccount): def grab_hosters(self, user, password, data): - json_data = json.loads(self.load("https://high-way.me/api.php", - get={'hoster': 1})) + html = self.load("https://high-way.me/api.php", get={'hoster': 1}) + json_data = json.loads(html) return [element['name'] for element in json_data['hoster']] |