Traceback (most recent call last):
File "/home/myshop/voyager3.py", line 543, in
bot.polling(none_stop=True)
File "/home/myshop/.local/lib/python2.7/site-packages/telebot/__init__.py", line 389, in polling
self.__threaded_polling(none_stop, interval, timeout)
File "/home/myshop/.local/lib/python2.7/site-packages/telebot/__init__.py", line 413, in __threaded_polling
self.worker_pool.raise_exceptions()
File "/home/myshop/.local/lib/python2.7/site-packages/telebot/util.py", line 108, in raise_exceptions
six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2])
File "/home/myshop/.local/lib/python2.7/site-packages/telebot/util.py", line 59, in run
task(*args, **kwargs)
File "/home/myshop/voyager3.py", line 165, in inline
bot.edit_message_text(chat_id = c.message.chat.id, message_id = c.message.message_id, text = yourorder.encode('utf8') + u'Страна: ' + district.encode('utf8') + '\n\n' + u'Выбери товар', reply_marku
p=key).encode('utf8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
Написано
Войдите на сайт
Чтобы задать вопрос и получить на него квалифицированный ответ.