remove error raising in dispatchType

This commit is contained in:
Jannes Höke 2016-01-05 12:49:48 +01:00
parent c2f04331f3
commit c756aa1c02

View file

@ -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):
"""