mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
test
This commit is contained in:
parent
41ad754329
commit
edb8053672
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user