Ben Kurtovic преди 11 години
родител
ревизия
ed9b4f261f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      commands/urbandictionary.py

+ 1
- 1
commands/urbandictionary.py Целия файл

@@ -36,6 +36,6 @@ class UrbanDictionary(Command):
elif res['result_type'] == 'fulltext':
L = [i['word'] for i in res['list']]
msg = 'Here are some close matches: {0}.'
self.reply(data, msg.format(u", ".join(L).encode("utf8"))
self.reply(data, msg.format(u", ".join(L).encode("utf8")))
else:
self.reply(data, 'Sorry, no results found.')

Зареждане…
Отказ
Запис