mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-08 19:34:12 +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')
|
super(InvalidToken, self).__init__('Invalid token')
|
||||||
|
|
||||||
|
|
||||||
class BadRequest(TelegramError):
|
class NetworkError(TelegramError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class NetworkError(TelegramError):
|
class BadRequest(TelegramError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue