From 9ee94d7d478a737d5bcc88fd16fc75b3cda337ba Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Tue, 25 Aug 2026 03:48:47 +0530 Subject: [PATCH] =?UTF-8?q?fix:=20use=20module-level=20Path=20import=20?= =?UTF-8?q?=E2=80=94=20local=20re-import=20shadowed=20it=20for=20the=20who?= =?UTF-8?q?le=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hermes_cli/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/hermes_cli/main.py b/hermes_cli/main.py index 75a2892429..a890478339 100644 --- a/hermes_cli/main.py +++ b/hermes_cli/main.py @@ -11558,8 +11558,6 @@ def cmd_dashboard(args): # Resolve SSH session token (serve-only, same as the dashboard path). if _token_file: try: - from pathlib import Path - _ssh_session_token = Path(_token_file).read_text(encoding="utf-8").strip() except Exception: pass