From b6ddc84561b6919d210b4f03dff7c700d22003d6 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 10 Jul 2012 23:33:03 -0400 Subject: [PATCH] rawr --- 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 9aab566..3d53780 100644 --- a/earwigbot/commands/dictionary.py +++ b/earwigbot/commands/dictionary.py @@ -144,7 +144,7 @@ class Dictionary(Command): line = self.strip_templates(line) line = line[1:].replace("'''", "").replace("''", "") line = line.replace("[[", "").replace("]]", "") - if line: + if line.strip(): senses.append(line.strip()[0].upper() + line.strip()[1:]) if not senses: