Skip to content

Commit c536e4f

Browse files
authored
Merge pull request #315 from HayaseYuukaDaemon/fix-remote-check-logic
Fixes issue#314
2 parents e84aeae + 2aaa214 commit c536e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ncatbot/adapter/nc/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def is_service_ok(self, timeout: int = 0, show_info: bool = True) -> bool:
9191
服务是否正常
9292
"""
9393
if timeout == 0:
94-
result = asyncio.run(self._test_websocket_async, show_info)
94+
result = asyncio.run(self._test_websocket_async(show_info))
9595
return bool(result)
9696

9797
expire_time = time.time() + timeout

0 commit comments

Comments
 (0)