Updated to use proper shorten
This commit is contained in:
parent
a02761bbd4
commit
41fe6723fc
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
return web.try_isgd(link)
|
||||
|
||||
|
||||
|
|
Reference in a new issue