mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
test
This commit is contained in:
parent
9829751b4a
commit
72b84df5f3
@ -94,10 +94,11 @@ class SpiceBot_AI():
|
||||
|
||||
try:
|
||||
dict_from_file = untangle.parse(aimlfile)
|
||||
logs.log('SpiceBot_AI', dict_from_file)
|
||||
# logs.log('SpiceBot_AI', dict_from_file)
|
||||
except Exception as e:
|
||||
filereadgood = e
|
||||
filereadgood = False
|
||||
logs.log('SpiceBot_AI', "Error loading %s: %s (%s)" % ('aiml', e, aimlfile))
|
||||
# logs.log('SpiceBot_AI', "Error loading %s: %s (%s)" % ('aiml', e, aimlfile))
|
||||
|
||||
if filereadgood and isinstance(dict_from_file, dict):
|
||||
self.dict["counts"] += 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user