From 1ca93674e597c3bae5d95618df97fd9c64c29194 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 10 Jul 2012 22:05:50 -0400 Subject: [PATCH] Spelling error! --- earwigbot/commands/dictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/commands/dictionary.py b/earwigbot/commands/dictionary.py index cc0d7f4..0b09293 100644 --- a/earwigbot/commands/dictionary.py +++ b/earwigbot/commands/dictionary.py @@ -113,7 +113,7 @@ class Dictionary(Command): blocks + "\s*\{\{" + fullname + "\}\}\s*" + blocks, blocks + "\s*\{\{" + fullname.lower() + "\}\}\s*" + blocks, ] - for regex in regex: + for regex in regexes: if re.search(regex, section): regex = "{0}\s*{1}\s*{0}(.*?)(?:(?:{0})|\Z)" regex = regex.format(blocks, fullname)