diff --git a/telegram/ext/callbackqueryhandler.py b/telegram/ext/callbackqueryhandler.py index c3aa3ded9..53c4aa441 100644 --- a/telegram/ext/callbackqueryhandler.py +++ b/telegram/ext/callbackqueryhandler.py @@ -92,7 +92,6 @@ class CallbackQueryHandler(Handler): return self.callback(dispatcher.bot, update, **optional_args) # old non-PEP8 Handler methods - m = "telegram.CallbackQueryHandler." checkUpdate = deprecate(check_update, m + "checkUpdate", m + "check_update") handleUpdate = deprecate(handle_update, m + "handleUpdate", m + "handle_update") diff --git a/telegram/ext/inlinequeryhandler.py b/telegram/ext/inlinequeryhandler.py index a850f9728..60cdafead 100644 --- a/telegram/ext/inlinequeryhandler.py +++ b/telegram/ext/inlinequeryhandler.py @@ -91,7 +91,6 @@ class InlineQueryHandler(Handler): return self.callback(dispatcher.bot, update, **optional_args) # old non-PEP8 Handler methods - m = "telegram.InlineQueryHandler." checkUpdate = deprecate(check_update, m + "checkUpdate", m + "check_update") handleUpdate = deprecate(handle_update, m + "handleUpdate", m + "handle_update")