mirror of
https://github.com/SantaSpeen/anixart.git
synced 2026-04-24 00:56:38 +00:00
Обновил ошибки в хандлере
This commit is contained in:
@@ -2,9 +2,8 @@ from enum import IntEnum
|
||||
|
||||
|
||||
class AnixartAuthErrors(IntEnum):
|
||||
""" Error codes for AnixartApi authentication."""
|
||||
INCORRECT_LOGIN = 1
|
||||
INCORRECT_PASSWORD = 2
|
||||
INCORRECT_LOGIN = 2
|
||||
INCORRECT_PASSWORD = 3
|
||||
|
||||
|
||||
def errors_handler(error):
|
||||
|
||||
Reference in New Issue
Block a user