OK then
This commit is contained in:
parent
aa80de0bb4
commit
a02761bbd4
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from util import hook, web, http
|
||||||
def qrcode(inp, bot=None):
|
def qrcode(inp, bot=None):
|
||||||
"qrcode [link] returns a link for a QR code."
|
"qrcode [link] returns a link for a QR code."
|
||||||
|
|
||||||
link = "http://blny.tk/qr.php?q=%s" % http.get_url(inp)
|
link = "http://blny.tk/qr.php?q=%s" % http.quote_plus(inp)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return web.try_isgd(link)
|
return web.try_isgd(link)
|
||||||
|
|
Reference in a new issue