From b57fd37f4995013207644d6fb470bc8c81df14dd Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sun, 14 Apr 2013 21:02:22 -0500 Subject: [PATCH] Python2.6 compatability --- commands/dictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/dictionary.py b/commands/dictionary.py index 961c41e..6b18672 100644 --- a/commands/dictionary.py +++ b/commands/dictionary.py @@ -29,7 +29,7 @@ class UrbanDictionary(Command): self.reply(data, msg) elif res['result_type'] == 'fulltext': l = [i['word'] for i in res['list']] - msg = 'Here are some close matches...: {}'.format(', '.join(l)) + msg = 'Here are some close matches...: {0}'.format(', '.join(l)) self.reply(data, msg) else: self.reply(data, 'Sorry, no results found :(')