Ver código fonte

rawr

tags/v0.1^2
Ben Kurtovic 12 anos atrás
pai
commit
b6ddc84561
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

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


Carregando…
Cancelar
Salvar