From cd1aeb1d0fec6cbbd035d41aa0e8e008fa361f07 Mon Sep 17 00:00:00 2001 From: Nixevol Date: Sun, 25 Oct 2026 07:12:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=AD=E6=9C=9F=E5=86=99=E5=9B=9E?= =?UTF-8?q?=E5=89=8D=E7=A1=AE=E8=AE=A4=E4=BB=8D=E6=98=AF=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=AE=A2=E6=88=B7=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/platform/keepalive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/app/platform/keepalive.py b/backend/app/platform/keepalive.py index 8623fb6..dd56b2b 100644 --- a/backend/app/platform/keepalive.py +++ b/backend/app/platform/keepalive.py @@ -25,6 +25,8 @@ async def refresh_saved_session() -> None: except NqiError as exc: logger.info("登录续期未完成: %s", exc) return + if state.client is not client: + return state.user = refreshed await remember_account(refreshed, client.export_cookies())