From 7782bba8d84f089ba04f641ee12967d4d55361fd Mon Sep 17 00:00:00 2001 From: Nixevol Date: Mon, 16 Nov 2026 02:49:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=A3=E7=90=86=E6=B1=A0=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E6=97=B6=E5=9C=A8=E5=AD=A6=E4=B9=A0=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E9=87=8C=E5=86=99=E6=98=8E=E6=AD=A3=E5=9C=A8=E7=9B=B4=E8=BF=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/euniv/autostudy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/euniv/autostudy.py b/backend/euniv/autostudy.py index 078e6d2..eef71c6 100644 --- a/backend/euniv/autostudy.py +++ b/backend/euniv/autostudy.py @@ -386,6 +386,8 @@ def _job_from_account(row) -> tuple | None: pool = uses_pool(row) try: proxy = bind_url(row) + if pool and not proxy and employee_id: + _set_user_status(employee_id, message="正在直连") except Exception as exc: log.warning("用户 %s 凭据无法读取: %s", employee_id, exc) if employee_id: