🚨 auto fix by pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] 2025-08-29 16:14:05 +00:00
parent 0ccbc2c701
commit b0a1c6db87
2 changed files with 3 additions and 3 deletions

View File

@ -153,7 +153,7 @@ async def _(session: Uninfo, arparma: Arparma, nickname: str = UserName()):
nickname,
PlatformUtils.get_platform(session),
):
await MessageUtils.build_message(image.pic2bytes()).finish(reply_to=True) # type: ignore
await MessageUtils.build_message(image.pic2bytes()).finish(reply_to=True) # type: ignore
return await MessageUtils.build_message("你的道具为空捏...").send(reply_to=True)

View File

@ -133,8 +133,8 @@ async def gold_rank(session: Uninfo, group_id: str | None, num: int) -> bytes |
TextCell(content=uid2name.get(user[0]) or user[0]),
TextCell(content=str(user[1]), bold=True),
ImageCell(src=platform_path.resolve().as_uri())
if (platform_path := PLATFORM_PATH.get(platform))
else TextCell(content=""),
if (platform_path := PLATFORM_PATH.get(platform))
else TextCell(content=""),
]
)
if group_id: