From 9ed72ad1b6b61fc00348224265ec731ac36e9ca3 Mon Sep 17 00:00:00 2001 From: DrNeumann388 Date: Sat, 7 Mar 2026 00:41:28 +0300 Subject: [PATCH] Update exceptions.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Убран лишний пробел в 18 строчке --- rating_api/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rating_api/exceptions.py b/rating_api/exceptions.py index 2ac6ca7..6f74963 100644 --- a/rating_api/exceptions.py +++ b/rating_api/exceptions.py @@ -15,7 +15,7 @@ class ObjectNotFound(RatingAPIError): def __init__(self, obj: type, obj_id_or_name: int | str): super().__init__( f"Object {obj.__name__} {obj_id_or_name=} not found", - f"Объект {obj.__name__} с идентификатором {obj_id_or_name} не найден", + f"Объект {obj.__name__} с идентификатором {obj_id_or_name} не найден", )