Browse Source

rawr

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
b6ddc84561
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/commands/dictionary.py

+ 1
- 1
earwigbot/commands/dictionary.py View File

@@ -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…
Cancel
Save