Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Commit 6278ec6

Browse files
Merge pull request #63 from Muyan-Shen/dev
fix:修复通过已保存账号信息登录报错的问题
2 parents 7270e05 + f6cde69 commit 6278ec6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ async def run_bot():
169169
logger.info("登录账号信息: wxid: {} 昵称: {} 微信号: {} 手机号: {}", bot.wxid, bot.nickname, bot.alias,
170170
bot.phone)
171171

172-
bot_bridge.save_profile(avatar_url=profile.get("userInfoExt", {}).get("BigHeadImgUrl", ""),
173-
nickname=profile.get("NickName", {}).get("string", ""),
172+
bot_bridge.save_profile(nickname=profile.get("NickName", {}).get("string", ""),
174173
wxid=wxid,
175174
alias=profile.get("Alias", ""))
176175

0 commit comments

Comments
 (0)