From 1ebab29aa9459a7fbdeba99ad40d2fbab6e17403 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 4 May 2019 17:04:46 -0400 Subject: [PATCH] Error --- .../SpiceBot_CommandsQuery/CommandsQuery.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sopel_modules/SpiceBot_CommandsQuery/CommandsQuery.py b/sopel_modules/SpiceBot_CommandsQuery/CommandsQuery.py index 45deae7..9755489 100644 --- a/sopel_modules/SpiceBot_CommandsQuery/CommandsQuery.py +++ b/sopel_modules/SpiceBot_CommandsQuery/CommandsQuery.py @@ -31,10 +31,10 @@ def setup_thread(bot): if 'SpiceBot_CommandsQuery' not in bot.memory: bot.memory['SpiceBot_CommandsQuery'] = dict() - if ['counts'] not in bot.memory['SpiceBot_CommandsQuery'].keys(): + if 'counts' not in bot.memory['SpiceBot_CommandsQuery'].keys(): bot.memory['SpiceBot_CommandsQuery']['counts'] = dict() - if ['commands'] not in bot.memory['SpiceBot_CommandsQuery'].keys(): + if 'commands' not in bot.memory['SpiceBot_CommandsQuery'].keys(): bot.memory['SpiceBot_CommandsQuery']['commands'] = dict() for comtype in ['module', 'nickname', 'rule']: @@ -249,10 +249,10 @@ def commandsquery_register_type(bot, command_type): if 'SpiceBot_CommandsQuery' not in bot.memory: bot.memory['SpiceBot_CommandsQuery'] = dict() - if ['counts'] not in bot.memory['SpiceBot_CommandsQuery'].keys(): + if 'counts' not in bot.memory['SpiceBot_CommandsQuery'].keys(): bot.memory['SpiceBot_CommandsQuery']['counts'] = dict() - if ['commands'] not in bot.memory['SpiceBot_CommandsQuery'].keys(): + if 'commands' not in bot.memory['SpiceBot_CommandsQuery'].keys(): bot.memory['SpiceBot_CommandsQuery']['commands'] = dict() if command_type not in bot.memory['SpiceBot_CommandsQuery'].keys(): @@ -271,10 +271,10 @@ def commandsquery_register(bot, command_type, validcoms, aliasfor=None): if 'SpiceBot_CommandsQuery' not in bot.memory: bot.memory['SpiceBot_CommandsQuery'] = dict() - if ['counts'] not in bot.memory['SpiceBot_CommandsQuery'].keys(): + if 'counts' not in bot.memory['SpiceBot_CommandsQuery'].keys(): bot.memory['SpiceBot_CommandsQuery']['counts'] = dict() - if ['commands'] not in bot.memory['SpiceBot_CommandsQuery'].keys(): + if 'commands' not in bot.memory['SpiceBot_CommandsQuery'].keys(): bot.memory['SpiceBot_CommandsQuery']['commands'] = dict() if command_type not in bot.memory['SpiceBot_CommandsQuery'].keys():