From 80d2735716b1d41a5b2ac8def76af43bdc2bb879 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 21 Sep 2014 23:01:55 -0500 Subject: [PATCH] Bugfix. --- earwigbot/commands/dictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/commands/dictionary.py b/earwigbot/commands/dictionary.py index 18f9409..e2dc704 100644 --- a/earwigbot/commands/dictionary.py +++ b/earwigbot/commands/dictionary.py @@ -72,7 +72,7 @@ class Dictionary(Command): if not lang: resp = u"Language {0} not found in definition." return resp.format(request) - definition = self.get_definition(lang, level) + definition = self.get_definition(languages[lang], level) return u"({0}) {1}".format(lang, definition) result = []