Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
remove colon in detailed info message
Browse files Browse the repository at this point in the history
  • Loading branch information
SecondThundeR committed May 15, 2022
1 parent fae414a commit 49d858b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions shikithon/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down Expand Up @@ -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')
Expand All @@ -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,
Expand Down Expand Up @@ -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')
Expand All @@ -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')
Expand All @@ -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:
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 49d858b

Please sign in to comment.