Parcourir la source

Python2.6 compatability

pull/8/head
Kunal Mehta il y a 11 ans
Parent
révision
b57fd37f49
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      commands/dictionary.py

+ 1
- 1
commands/dictionary.py Voir le fichier

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


Chargement…
Annuler
Enregistrer