From 77e12602264dd32449bf43d3e4bd183dd0cbacd5 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 25 Jun 2019 12:34:24 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Prerun.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index cde81b3..312a0a7 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -34,7 +34,8 @@ def prerun(t_command_type='module'): return bot.say(str(trigger_command_type)) - for comtype in [trigger_command_type, t_command_type]: + for comtypecheck in [trigger_command_type, t_command_type]: + comtype = eval(comtypecheck) if comtype not in list(botcommands.dict["commands"].keys()): bot.say(str(comtype) + " not valid comtype")