From 1e4e244701fff3db96470d2f1c03c9ba6e9f1bba Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 20 Jun 2019 15:16:47 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/DictComs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/DictComs.py b/sopel_modules/SpiceBot/DictComs.py index 9c0904a..6fdc357 100644 --- a/sopel_modules/SpiceBot/DictComs.py +++ b/sopel_modules/SpiceBot/DictComs.py @@ -39,7 +39,10 @@ class BotJSONCommands(): for dict_from_file in list(self.valid_dictcom_dict.keys()): - dict_from_file["comtype"] = "prefix" + try: + dict_from_file["comtype"] = "prefix" + except Exception as e: + sys.stderr(str(dict_from_file)) # default command to filename if "validcoms" not in list(dict_from_file.keys()):