瀏覽代碼

Python2.6 compatability

pull/8/head
Kunal Mehta 11 年之前
父節點
當前提交
b57fd37f49
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      commands/dictionary.py

+ 1
- 1
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 :(')


Loading…
取消
儲存