mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 22:45:09 +01:00
Keeps backwards compatibility to BadRequest #302
This commit is contained in:
parent
1e398821a0
commit
e70625772c
1 changed files with 2 additions and 2 deletions
|
@ -73,11 +73,11 @@ class InvalidToken(TelegramError):
|
|||
super(InvalidToken, self).__init__('Invalid token')
|
||||
|
||||
|
||||
class BadRequest(TelegramError):
|
||||
class NetworkError(TelegramError):
|
||||
pass
|
||||
|
||||
|
||||
class NetworkError(TelegramError):
|
||||
class BadRequest(TelegramError):
|
||||
pass
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue