From 4d770843ccf85f2d9360f30580ee99a8bfe01510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Mon, 16 May 2016 15:02:51 +0200 Subject: [PATCH] use non-deprecated methods --- telegram/ext/dispatcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram/ext/dispatcher.py b/telegram/ext/dispatcher.py index a1db87b79..c715e6007 100644 --- a/telegram/ext/dispatcher.py +++ b/telegram/ext/dispatcher.py @@ -176,8 +176,8 @@ class Dispatcher(object): for group in self.groups: for handler in self.handlers[group]: try: - if handler.checkUpdate(update): - handler.handleUpdate(update, self) + if handler.check_update(update): + handler.handle_update(update, self) break # Dispatch any errors except TelegramError as te: