From d72be12d41bc3431d2576b55f20b271c80f2da33 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 10 Jul 2012 23:35:22 -0400 Subject: [PATCH] Make less broken. --- 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 3d53780..5f77ad1 100644 --- a/earwigbot/commands/dictionary.py +++ b/earwigbot/commands/dictionary.py @@ -138,7 +138,7 @@ class Dictionary(Command): senses = [] for line in body.splitlines(): line = line.strip() - if re.match("#\s*[^:*]", line): + if re.match("#\s*[^:*#]", line): for regex, repl in substitutions: line = re.sub(regex, repl, line) line = self.strip_templates(line)