diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 17:12:53 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 17:12:53 +0200 |
commit | 6891502d1eb47f3db824ee25a8d978284f3e75e7 (patch) | |
tree | e6f530c6a3dab287ef9144bdeee527d50a84c2dd /module/plugins/accounts/OverLoadMe.py | |
parent | New plugin: Http (diff) | |
download | pyload-6891502d1eb47f3db824ee25a8d978284f3e75e7.tar.xz |
Multi-hoster accounts now extend MultiAccount class
Diffstat (limited to 'module/plugins/accounts/OverLoadMe.py')
-rw-r--r-- | module/plugins/accounts/OverLoadMe.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py index 02d0d2649..74c099114 100644 --- a/module/plugins/accounts/OverLoadMe.py +++ b/module/plugins/accounts/OverLoadMe.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- -from module.plugins.internal.Account import Account -from module.common.json_layer import json_loads +from module.plugins.internal.MultiAccount import MultiAccount +from module.plugins.internal.utils import json -class OverLoadMe(Account): +class OverLoadMe(MultiAccount): __name__ = "OverLoadMe" __type__ = "account" __version__ = "0.08" @@ -30,7 +30,7 @@ class OverLoadMe(Account): get={'user': user, 'auth': password}).strip() - data = json_loads(html) + data = json.loads(html) self.log_debug(data) #: Check for premium @@ -45,7 +45,7 @@ class OverLoadMe(Account): get={'user': user, 'auth': password}).strip() - data = json_loads(jsondata) + data = json.loads(jsondata) if data['err'] == 1: self.fail_login() |