Skip to content

Your lightweight open-source personal agent.

tidy up

zhangxiaoyu.york9e2f69bd5a06
diff --git a/nanobot/channels/feishu.py b/nanobot/channels/feishu.py
index 161d31e18..16c6a0716 100644
--- a/nanobot/channels/feishu.py
+++ b/nanobot/channels/feishu.py
@@ -311,8 +311,8 @@ class FeishuChannel(BaseChannel):
self._ws_client.start()
except Exception as e:
logger.warning("Feishu WebSocket error: {}", e)
- if self._running:
- import time; time.sleep(5)
+ if self._running:
+ import time; time.sleep(5)
self._ws_thread = threading.Thread(target=run_ws, daemon=True)
self._ws_thread.start()