瀏覽代碼

Make less broken.

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
d72be12d41
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      earwigbot/commands/dictionary.py

+ 1
- 1
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)


Loading…
取消
儲存