报错为:
2018-03-19 06:16:46,307 [ERROR]: telegram.ext.dispatcher (dispatcher.process_update; dispatcher.py:301)
An uncaught error was raised while processing the update
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/dispatcher.py", line 279, in process_update
handler.handle_update(update, self)
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/messagehandler.py", line 169, in handle_update
return self.callback(dispatcher.bot, update, **optional_args)
File "/usr/local/lib/python3.6/dist-packages/efb_telegram_master/master_message.py", line 70, in msg_thread_creator
threading.Thread(target=self.msg, args=(bot, update)).run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/dist-packages/efb_telegram_master/master_message.py", line 108, in msg
return self.process_telegram_message(bot, update)
File "/usr/local/lib/python3.6/dist-packages/efb_telegram_master/master_message.py", line 274, in process_telegram_message
if msg_md_text == escape_markdown(message.text):
File "/usr/local/lib/python3.6/dist-packages/telegram/utils/helpers.py", line 54, in escape_markdown
return re.sub(r'([%s])' % escape_chars, r'\\1', text)
File "/usr/lib/python3.6/re.py", line 191, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
求大佬帮助