This commit is contained in:
deathbybandaid 2019-06-04 14:05:18 -04:00
parent 9829751b4a
commit 72b84df5f3

View File

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