Fix: Typo in web.py plugin
This commit is contained in:
parent
48cbc834de
commit
6595f7d54a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class ShortenError(Exception):
|
||||||
|
|
||||||
|
|
||||||
def isgd(url):
|
def isgd(url):
|
||||||
""" shortens a URL with the is.gd PAI """
|
""" shortens a URL with the is.gd API """
|
||||||
url = urlnorm.normalize(url.encode('utf-8'), assume_scheme='http')
|
url = urlnorm.normalize(url.encode('utf-8'), assume_scheme='http')
|
||||||
params = urllib.urlencode({'format': 'json', 'url': url})
|
params = urllib.urlencode({'format': 'json', 'url': url})
|
||||||
request = http.get_json("http://is.gd/create.php?%s" % params)
|
request = http.get_json("http://is.gd/create.php?%s" % params)
|
||||||
|
|
Reference in a new issue