Bläddra i källkod

rawr

tags/v0.1^2
Ben Kurtovic 12 år sedan
förälder
incheckning
b6ddc84561
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      earwigbot/commands/dictionary.py

+ 1
- 1
earwigbot/commands/dictionary.py Visa fil

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


Laddar…
Avbryt
Spara