Ver código fonte

Make less broken.

tags/v0.1^2
Ben Kurtovic 12 anos atrás
pai
commit
d72be12d41
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      earwigbot/commands/dictionary.py

+ 1
- 1
earwigbot/commands/dictionary.py Ver arquivo

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


Carregando…
Cancelar
Salvar