From fc3411d610904e1cf4a161079f62629030012ad2 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 6 Jul 2019 08:13:33 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot_Core_Commands/DictComs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot_Core_Commands/DictComs.py b/sopel_modules/SpiceBot_Core_Commands/DictComs.py index 825388b..45f7f81 100644 --- a/sopel_modules/SpiceBot_Core_Commands/DictComs.py +++ b/sopel_modules/SpiceBot_Core_Commands/DictComs.py @@ -35,7 +35,7 @@ def bot_dictcom_process(bot, trigger, botcom): # handling for special cases posscom = spicemanip(botcom.dict['args'], 1) - if posscom.lower() in [command.lower() for command in botcom.dict["dict"].keys()]: + if posscom.lower() in [command.lower() for command in list(botcom.dict["dict"].keys())]: for command in botcom.dict["dict"].keys(): if command.lower() == posscom.lower(): posscom = command