'utils.http.get_url' -> 'utils.http.request' (github.py)
This commit is contained in:
parent
2d3bb2b5e8
commit
843d517553
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class Module(ModuleManager.BaseModule):
|
|||
return ""
|
||||
|
||||
def _short_url(self, url):
|
||||
page = utils.http.get_url("https://git.io", method="POST",
|
||||
page = utils.http.request("https://git.io", method="POST",
|
||||
post_data={"url": url})
|
||||
return page.headers["Location"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue