mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-02-16 18:31:45 +01:00
remove error raising in dispatchType
This commit is contained in:
parent
c2f04331f3
commit
c756aa1c02
1 changed files with 0 additions and 3 deletions
|
@ -558,9 +558,6 @@ class Dispatcher:
|
|||
for t in self.type_handlers:
|
||||
if isinstance(update, t):
|
||||
self.dispatchTo(self.type_handlers[t], update)
|
||||
else:
|
||||
self.dispatchError(update, TelegramError(
|
||||
"Received update of unknown type %s" % type(update)))
|
||||
|
||||
def dispatchTelegramMessage(self, update):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue