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