Browse Source

Bugfix.

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

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

@@ -72,7 +72,7 @@ class Dictionary(Command):
if not lang: if not lang:
resp = u"Language {0} not found in definition." resp = u"Language {0} not found in definition."
return resp.format(request) return resp.format(request)
definition = self.get_definition(lang, level)
definition = self.get_definition(languages[lang], level)
return u"({0}) {1}".format(lang, definition) return u"({0}) {1}".format(lang, definition)


result = [] result = []


Loading…
Cancel
Save