Updated to use proper shorten

This commit is contained in:
Nathan Blaney 2013-08-05 20:56:46 +10:00
parent a02761bbd4
commit 41fe6723fc

View file

@ -9,7 +9,6 @@ def qrcode(inp, bot=None):
link = "http://blny.tk/qr.php?q=%s" % http.quote_plus(inp)
try:
return web.try_isgd(link)
except (web.ShortenError, http.HTTPError):
return link