diff --git a/nonebot-plugin-ncm/data_source.py b/nonebot-plugin-ncm/data_source.py index d32c084..1e2ae2c 100644 --- a/nonebot-plugin-ncm/data_source.py +++ b/nonebot-plugin-ncm/data_source.py @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 1d8ab6a..a74dba1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "]