From 99846da6f32194641ccb2699b7c1deb0109c22dd Mon Sep 17 00:00:00 2001 From: chengyongru Date: Thu, 18 Jun 2026 14:07:12 +0800 Subject: [PATCH] fix: trim feishu login path output maintainer edit: remove leftover config-path printing from Feishu channel login while keeping the generic success message. --- nanobot/channels/feishu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nanobot/channels/feishu.py b/nanobot/channels/feishu.py index 65589ec2..6ca2396b 100644 --- a/nanobot/channels/feishu.py +++ b/nanobot/channels/feishu.py @@ -717,7 +717,7 @@ class FeishuChannel(BaseChannel): print(f"Domain: {self.config.domain}") # Write credentials back to config.json - from nanobot.config.loader import get_config_path, load_config, save_config + from nanobot.config.loader import load_config, save_config full_config = load_config() feishu_cfg = getattr(full_config.channels, "feishu", None) or {} @@ -729,7 +729,6 @@ class FeishuChannel(BaseChannel): setattr(full_config.channels, "feishu", feishu_cfg) save_config(full_config) - print(f"\nCredentials saved to {get_config_path()} (feishu enabled)") print("Login successful!") return True