Skip to content

Commit

Permalink
fix bug and optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
kitUIN committed Oct 15, 2024
1 parent 6fb084b commit d224cb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nonebot-plugin-ncm/data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_qrcode(self):
while True:
rsp = self.api.login.LoginQrcodeCheck(uuid) # 检测扫描状态
if rsp["code"] == 803 or rsp["code"] == 800:
self.api.login.WriteLoginInfo(self.api.login.GetCurrentLoginStatus())
self.api.login.WriteLoginInfo(self.api.login.GetCurrentLoginStatus(), GetCurrentSession())
self.get_user_info()
return True
time.sleep(1)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nonebot-plugin-ncm"
version = "1.6.15"
version = "1.6.16"
description = "基于go-cqhttp与nonebot2的 网易云 无损音乐下载"
license = "Apache License 2.0"
authors = ["kitUIN <[email protected]>"]
Expand Down

0 comments on commit d224cb2

Please sign in to comment.