Skip to content

Commit 6c245c0

Browse files
committed
refactor: 移除没用的return
1 parent dace3f0 commit 6c245c0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

astrbot/core/platform/sources/kook/kook_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,6 @@ async def upload_asset(self, file_url: str | None) -> str:
422422
except Exception as e:
423423
raise RuntimeError(f"上传文件到kook服务器异常: {e}") from e
424424

425-
return ""
426-
427425
async def wait_until_closed(self):
428426
"""提供给外部调用的等待方法"""
429427
await self._stop_event.wait()

0 commit comments

Comments
 (0)