mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-15 12:17:28 +08:00
remove deprecated warn
This commit is contained in:
@@ -43,7 +43,7 @@ class OngekiReader(BaseReader):
|
||||
node = troot.find("VersionID").find("id")
|
||||
|
||||
if node.text not in version_ids:
|
||||
self.logger.warn(f"Unknown VersionID {node.text}")
|
||||
self.logger.warning(f"Unknown VersionID {node.text}")
|
||||
return OngekiConstants.VER_ONGEKI_BRIGHT_MEMORY
|
||||
|
||||
return version_ids[node.text]
|
||||
|
||||
@@ -554,7 +554,7 @@ class OngekiProfileData(BaseData):
|
||||
result = await self.execute(sql)
|
||||
|
||||
if result is None:
|
||||
self.logger.warn(
|
||||
self.logger.warning(
|
||||
f"put_profile_rating_{rating_type}: Could not insert rating entries, aime_id: {aime_id}",
|
||||
)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user