summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/MyfastfileComHook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/MyfastfileComHook.py')
-rw-r--r--module/plugins/hooks/MyfastfileComHook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/MyfastfileComHook.py b/module/plugins/hooks/MyfastfileComHook.py
index 20a1cfac2..10d128a31 100644
--- a/module/plugins/hooks/MyfastfileComHook.py
+++ b/module/plugins/hooks/MyfastfileComHook.py
@@ -21,7 +21,7 @@ class MyfastfileComHook(MultiHook):
def getHosters(self):
- json_data = self.getURL("http://myfastfile.com/api.php", get={'hosts': ""}, decode=True)
+ json_data = self.load("http://myfastfile.com/api.php", get={'hosts': ""})
self.logDebug("JSON data", json_data)
json_data = json_loads(json_data)