fix: 修复日志打印时参数格式错误

This commit is contained in:
Relakkes
2023-12-22 23:10:44 +08:00
parent bced7f6802
commit 273c9a316b
4 changed files with 4 additions and 4 deletions

View File

@@ -136,7 +136,7 @@ class XHSClient:
if res and res.get("items"):
res_dict: Dict = res["items"][0]["note_card"]
return res_dict
utils.logger.error("[xhs.client.get_note_by_id] get note empty and res:", res)
utils.logger.error(f"[xhs.client.get_note_by_id] get note empty and res:{res}")
return dict()
async def get_note_comments(self, note_id: str, cursor: str = "") -> Dict: