aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-12-11 22:40:20 +0000
committerGravatar jesopo2018-12-11 22:40:20 +0000
commit843d517553ddd9125d627c012362dd3ddacfaceb (patch)
tree3cf8d79e16691d5fb302fc1c234bd804dac12097 /modules/github.py
parentTypo in utils.http.request, 'response_heders' -> 'response_headers' (diff)
signature
'utils.http.get_url' -> 'utils.http.request' (github.py)
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index 73064e7d..c26f7863 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -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"]