I said how to fix them
This commit is contained in:
parent
a5d5845faf
commit
7474904e97
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from util import hook, web, http
|
||||||
def lmgtfy(inp):
|
def lmgtfy(inp):
|
||||||
"""lmgtfy [phrase] - Posts a google link for the specified phrase"""
|
"""lmgtfy [phrase] - Posts a google link for the specified phrase"""
|
||||||
|
|
||||||
link = "http://lmgtfy.com/?q={}".format(http.quote_plus(inp))
|
link = u"http://lmgtfy.com/?q={}".format(http.quote_plus(inp))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return web.isgd(link)
|
return web.isgd(link)
|
||||||
|
|
Reference in a new issue