Made fact.py use web.try_isgd()

This commit is contained in:
Luke Rogers 2013-08-02 12:30:16 +12:00
parent fb2b5fc26e
commit 58a857380d

View file

@ -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)