From 6fafa9714b18eb799eed3461b20938484c1ac2b8 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 14 May 2019 12:01:17 -0400 Subject: [PATCH] repair errors --- sopel_modules/SpiceBot_CommandsQuery/QueryCommand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot_CommandsQuery/QueryCommand.py b/sopel_modules/SpiceBot_CommandsQuery/QueryCommand.py index 939d823..1d549a5 100644 --- a/sopel_modules/SpiceBot_CommandsQuery/QueryCommand.py +++ b/sopel_modules/SpiceBot_CommandsQuery/QueryCommand.py @@ -28,7 +28,7 @@ def query_detection(bot, trigger): return commands_list = dict() - for commandstype in bot.memory['SpiceBot_CommandsQuery']['commands']["commandstype"].keys(): + for commandstype in bot.memory['SpiceBot_CommandsQuery']['commands'].keys(): if commandstype not in ['rule', 'nickname']: for com in bot.memory['SpiceBot_CommandsQuery']['commands'][commandstype].keys(): if com not in commands_list.keys():