URL -> shortener_url
This commit is contained in:
parent
b3a18da182
commit
46dcf0e6c2
1 changed files with 2 additions and 2 deletions
|
@ -25,9 +25,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
setting = context.get_setting("yourls", setting)
|
setting = context.get_setting("yourls", setting)
|
||||||
|
|
||||||
if not setting == None:
|
if not setting == None:
|
||||||
url, token = setting
|
shortener_url, token = setting
|
||||||
|
|
||||||
page = utils.http.request(URL, post_data={
|
page = utils.http.request(shortener_url, post_data={
|
||||||
"signature": token,
|
"signature": token,
|
||||||
"action": "shorturl",
|
"action": "shorturl",
|
||||||
"url": url,
|
"url": url,
|
||||||
|
|
Loading…
Reference in a new issue