summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shuralon <manu.aslan@live.de> 2015-01-11 14:25:14 +0100
committerGravatar Shuralon <manu.aslan@live.de> 2015-01-11 14:25:14 +0100
commit537e181c07876352581caf892f130cd0d7152290 (patch)
tree1dc2925ce2796a1c2115277b9c5c9acec8cc0ebc
parentTypo (diff)
downloadpyload-537e181c07876352581caf892f130cd0d7152290.tar.xz
[RehostTo] Fix
-rw-r--r--module/plugins/hooks/RehostTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/RehostTo.py b/module/plugins/hooks/RehostTo.py
index 0cb736d9c..653a0444e 100644
--- a/module/plugins/hooks/RehostTo.py
+++ b/module/plugins/hooks/RehostTo.py
@@ -6,7 +6,7 @@ from module.plugins.internal.MultiHook import MultiHook
class RehostTo(MultiHook):
__name__ = "RehostTo"
__type__ = "hook"
- __version__ = "0.49"
+ __version__ = "0.5"
__config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
("pluginlist" , "str" , "Plugin list (comma separated)" , "" ),
@@ -25,5 +25,5 @@ class RehostTo(MultiHook):
user, data = self.account.selectAccount()
page = self.getURL("http://rehost.to/api.php",
get={'cmd' : "get_supported_och_dl",
- 'long_ses': self.account.getAccountData(user)['session']})
+ 'long_ses': self.account.getAccountInfo(user)['session']})
return [x.strip() for x in page.replace("\"", "").split(",")]