fix: use module-level Path import — local re-import shadowed it for the whole function

This commit is contained in:
kshitijk4poor
2026-08-25 03:48:47 +05:30
parent 71e2924c5f
commit 9ee94d7d47
-2
View File
@@ -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