Browse Source

Make less broken.

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
d72be12d41
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/commands/dictionary.py

+ 1
- 1
earwigbot/commands/dictionary.py View File

@@ -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)


Loading…
Cancel
Save