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 = [] senses = []
for line in body.splitlines(): for line in body.splitlines():
line = line.strip() line = line.strip()
if re.match("#\s*[^:*]", line):
if re.match("#\s*[^:*#]", line):
for regex, repl in substitutions: for regex, repl in substitutions:
line = re.sub(regex, repl, line) line = re.sub(regex, repl, line)
line = self.strip_templates(line) line = self.strip_templates(line)


Loading…
Cancel
Save