diff --git a/lite/proxy_lite.py b/lite/proxy_lite.py index 2a98423..233af7a 100644 --- a/lite/proxy_lite.py +++ b/lite/proxy_lite.py @@ -92,7 +92,7 @@ def _load_nodes(): _NODES = data if not _SELECTED_RESTORED: _restore_selected_node(_NODES) # 恢复上次使用的节点 - log(f"已加载节点配置: {len(_NODES)} 个 ({path})") + log(f"已加载节点配置: {len(_NODES)} 个") if data and not str(data[0].get("domain") or "").strip(): log_red("节点未填写域名:请配置 config.json 的 nodes_url 在线更新," "或使用 others/nodes_tool 导入节点配置") @@ -916,8 +916,8 @@ def _user_init_local(): "username": "", "password": "", "remark": ""}] (_USER_DIR / "nodes.json").write_bytes(_nodes_encrypt( json.dumps(template, ensure_ascii=False, indent=2) + "\n")) - log_red(f"已创建 {_USER_DIR / 'nodes.json'}(加密存储),请配置 config.json 的 " - f"nodes_url 在线更新,或使用 others/nodes_tool 导入节点配置") + log_red("已创建节点配置文件(加密存储),请配置 config.json 的 " + "nodes_url 在线更新,或使用 others/nodes_tool 导入节点配置") def _user_init_remote(base_url=None): """检查并更新 PAC 数据(后台线程):