From 49d858b77aa7ed5d510c7c1232fcab9b2bbe5da6 Mon Sep 17 00:00:00 2001 From: SecondThundeR Date: Sun, 15 May 2022 13:50:11 +0300 Subject: [PATCH] remove colon in detailed info message --- shikithon/api.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/shikithon/api.py b/shikithon/api.py index 7352dedd..efb4a4fd 100644 --- a/shikithon/api.py +++ b/shikithon/api.py @@ -1087,7 +1087,7 @@ def club_update( banned_user_ids=banned_user_ids), request_type=RequestType.PATCH) logger.debug( - f'Detailed information about updating the club: {response=}') + f'Detailed information about updating the club {response=}') return Club(**response) if 'errors' not in response else None def club_animes(self, club_id: int) -> List[Anime]: @@ -1196,8 +1196,7 @@ def club_join(self, club_id: int): int] = self._request(self._endpoints.club_join(club_id), headers=self._authorization_header, request_type=RequestType.POST) - logger.debug( - f'Detailed information about joining the club: {response=}') + logger.debug(f'Detailed information about joining the club {response=}') return response == ResponseCode.SUCCESS.value @protected_method(scope='clubs') @@ -1216,8 +1215,7 @@ def club_leave(self, club_id: int) -> bool: self._endpoints.club_leave(club_id), headers=self._authorization_header, request_type=RequestType.POST) - logger.debug( - f'Detailed information about leaving the club: {response=}') + logger.debug(f'Detailed information about leaving the club {response=}') return response == ResponseCode.SUCCESS.value def comments(self, @@ -1329,7 +1327,7 @@ def create_comment( data=data_dict, request_type=RequestType.POST) logger.debug( - f'Detailed information about creating the comment: {response=}') + f'Detailed information about creating the comment {response=}') return Comment(**response) if 'errors' not in response else None @protected_method(scope='comments') @@ -1354,7 +1352,7 @@ def update_comment(self, comment_id: int, data=Utils.generate_data_dict(dict_name='comment', body=body), request_type=RequestType.PATCH) logger.debug( - f'Detailed information about updating the comment: {response=}') + f'Detailed information about updating the comment {response=}') return Comment(**response) if 'errors' not in response else None @protected_method(scope='comments') @@ -1374,7 +1372,7 @@ def delete_comment(self, comment_id: int) -> bool: headers=self._authorization_header, request_type=RequestType.DELETE) logger.debug( - f'Detailed information about deleting the comment: {response=}') + f'Detailed information about deleting the comment {response=}') return 'notice' in response def anime_constants(self) -> AnimeConstants: @@ -1486,7 +1484,7 @@ def delete_dialog(self, user_id: Union[int, str]) -> bool: headers=self._authorization_header, request_type=RequestType.DELETE) logger.debug( - f'Detailed information about deleting the dialog: {response=}') + f'Detailed information about deleting the dialog {response=}') return 'notice' in response def users(self,