remove deprecated warn

This commit is contained in:
2025-02-21 23:51:59 -05:00
parent d4394788b7
commit 0f52b89033
22 changed files with 79 additions and 79 deletions

View File

@ -765,7 +765,7 @@ class ChuniProfileData(BaseData):
existing_team = self.get_team_by_id(team_id)
if existing_team is None or "userTeamPoint" not in existing_team:
self.logger.warn(
self.logger.warning(
f"update_team: Failed to update team! team id: {team_id}. Existing team data not found."
)
return False
@ -795,7 +795,7 @@ class ChuniProfileData(BaseData):
result = await self.execute(conflict)
if result is None:
self.logger.warn(
self.logger.warning(
f"update_team: Failed to update team! team id: {team_id}"
)
return False
@ -813,7 +813,7 @@ class ChuniProfileData(BaseData):
playcount_sql = await self.execute(select(profile.c.playCount))
if playcount_sql is None:
self.logger.warn(
self.logger.warning(
f"get_overview: Couldn't pull playcounts"
)
return 0
@ -842,7 +842,7 @@ class ChuniProfileData(BaseData):
result = await self.execute(sql)
if result is None:
self.logger.warn(
self.logger.warning(
f"put_profile_rating: Could not insert {rating_type}, aime_id: {aime_id}",
)
return