Keeps backwards compatibility to BadRequest #302

This commit is contained in:
Leandro Toledo 2016-05-25 21:24:29 -03:00
parent 1e398821a0
commit e70625772c

View file

@ -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