This commit is contained in:
deathbybandaid 2019-09-20 16:01:45 -04:00
parent 41ad754329
commit edb8053672

View File

@ -12,6 +12,8 @@ from .Config import config as botconfig
from .Read import read as botread
from .Commands import commands as botcommands
from .Logs import logs
# TODO add a cache flush
@ -89,6 +91,7 @@ class Search():
except Exception as e:
var = e
var = None
logs.log('SpiceBot_Search', str(e))
if not var or not var.url:
return None
return var.url