瀏覽代碼

rawr

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
b6ddc84561
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/commands/dictionary.py

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


Loading…
取消
儲存