From 06c57dfbd16848277e60472852d2aac6c61ea538 Mon Sep 17 00:00:00 2001 From: leefer Date: Sun, 27 Sep 2026 20:07:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20cli.py=20=E4=B8=A4=E8=A1=8C=E8=A2=AB?= =?UTF-8?q?=E8=AF=AF=E5=90=88=E5=B9=B6=E5=AF=BC=E8=87=B4=E7=9A=84=20Syntax?= =?UTF-8?q?Error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli.py b/cli.py index 9c2c372..20ad935 100644 --- a/cli.py +++ b/cli.py @@ -172,7 +172,8 @@ def cmd_start(store, args) -> int: _print("没有已配置的隧道。先用 tunnel add 添加。") return 1 hosts_by_id = {h["id"]: h for h in store.data["hosts"]} - mgr = TunnelManager(_QuietEmit(), data_root()) chosen = [] + mgr = TunnelManager(_QuietEmit(), data_root()) + chosen = [] for r in refs: t = find_tunnel(store, r) if not t: