From 72b84df5f3c1a0b6ae2778a24b638bfc980d4f49 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 4 Jun 2019 14:05:18 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/AI.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot/AI.py b/sopel_modules/SpiceBot/AI.py index b8c37d7..01b7eb6 100644 --- a/sopel_modules/SpiceBot/AI.py +++ b/sopel_modules/SpiceBot/AI.py @@ -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