summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/FreeWayMeHook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/FreeWayMeHook.py')
-rw-r--r--module/plugins/hooks/FreeWayMeHook.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/hooks/FreeWayMeHook.py b/module/plugins/hooks/FreeWayMeHook.py
index 5f30d70fc..1380433bf 100644
--- a/module/plugins/hooks/FreeWayMeHook.py
+++ b/module/plugins/hooks/FreeWayMeHook.py
@@ -6,7 +6,7 @@ from module.plugins.internal.MultiHook import MultiHook
class FreeWayMeHook(MultiHook):
__name__ = "FreeWayMeHook"
__type__ = "hook"
- __version__ = "0.17"
+ __version__ = "0.18"
__status__ = "testing"
__config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
@@ -20,6 +20,9 @@ class FreeWayMeHook(MultiHook):
def get_hosters(self):
- user, data = self.account.select()
- hostis = self.load("http://www.free-way.bz/ajax/jd.php", get={'id': 3, 'user': user, 'pass': data['password']}).replace("\"", "") #@TODO: Revert to `https` in 0.4.10
+ user, info = self.account.select()
+ hostis = self.load("http://www.free-way.bz/ajax/jd.php",
+ get={'id' : 3,
+ 'user': user,
+ 'pass': info['login']['password']}).replace("\"", "") #@TODO: Revert to `https` in 0.4.10
return [x.strip() for x in hostis.split(",") if x.strip()]