Fix: Typo in web.py plugin

This commit is contained in:
Jonas Friedmann 2013-07-03 14:55:06 +02:00
parent 48cbc834de
commit 6595f7d54a

View file

@ -21,7 +21,7 @@ class ShortenError(Exception):
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')
params = urllib.urlencode({'format': 'json', 'url': url})
request = http.get_json("http://is.gd/create.php?%s" % params)