diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-02-08 02:09:45 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-02-08 02:15:53 +0100 |
commit | b25bc61dd47d8d3c42969bd0f72443b21c4b059e (patch) | |
tree | 6115841c9763289bd400c6171508f397d3526bf5 /module/plugins/hooks/RehostTo.py | |
parent | [ZippyshareCom] Typo (diff) | |
download | pyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/RehostTo.py')
-rw-r--r-- | module/plugins/hooks/RehostTo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/RehostTo.py b/module/plugins/hooks/RehostTo.py index ddb8b3eb0..845601c3f 100644 --- a/module/plugins/hooks/RehostTo.py +++ b/module/plugins/hooks/RehostTo.py @@ -23,7 +23,7 @@ class RehostTo(MultiHook): def getHosters(self): user, data = self.account.selectAccount() - page = self.getURL("http://rehost.to/api.php", + html = self.getURL("http://rehost.to/api.php", get={'cmd' : "get_supported_och_dl", 'long_ses': self.account.getAccountInfo(user)['session']}) - return [x.strip() for x in page.replace("\"", "").split(",")] + return [x.strip() for x in html.replace("\"", "").split(",")] |