We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e84aeae commit 2aaa214Copy full SHA for 2aaa214
ncatbot/adapter/nc/service.py
@@ -91,7 +91,7 @@ def is_service_ok(self, timeout: int = 0, show_info: bool = True) -> bool:
91
服务是否正常
92
"""
93
if timeout == 0:
94
- result = asyncio.run(self._test_websocket_async, show_info)
+ result = asyncio.run(self._test_websocket_async(show_info))
95
return bool(result)
96
97
expire_time = time.time() + timeout
0 commit comments