summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OverLoadMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/OverLoadMe.py')
-rw-r--r--module/plugins/accounts/OverLoadMe.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py
index 9a302672a..0155d4efc 100644
--- a/module/plugins/accounts/OverLoadMe.py
+++ b/module/plugins/accounts/OverLoadMe.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from module.plugins.internal.MultiAccount import MultiAccount
-from module.plugins.internal.utils import json
+from module.plugins.internal.misc import json
class OverLoadMe(MultiAccount):
__name__ = "OverLoadMe"
__type__ = "account"
- __version__ = "0.09"
+ __version__ = "0.10"
__status__ = "testing"
__config__ = [("mh_mode" , "all;listed;unlisted", "Filter hosters to use" , "all"),
@@ -41,11 +41,11 @@ class OverLoadMe(MultiAccount):
def signin(self, user, password, data):
- jsondata = self.load("https://api.over-load.me/account.php",
- get={'user': user,
- 'auth': password}).strip()
+ html = self.load("https://api.over-load.me/account.php",
+ get={'user': user,
+ 'auth': password}).strip()
- data = json.loads(jsondata)
+ data = json.loads(html)
- if data['err'] == 1:
+ if data['err'] is 1:
self.fail_login()