Made fact.py use web.try_isgd()
This commit is contained in:
parent
fb2b5fc26e
commit
58a857380d
1 changed files with 1 additions and 4 deletions
|
@ -32,9 +32,6 @@ def fact(inp, say=False, nick=False):
|
|||
attempts += 1
|
||||
continue
|
||||
|
||||
try:
|
||||
url = web.isgd(link)
|
||||
except (web.ShortenError, http.HTTPError):
|
||||
url = link
|
||||
url = web.try_isgd(link)
|
||||
|
||||
return "%s - %s" % (fact, url)
|
||||
|
|
Reference in a new issue