Skip to content

Commit

Permalink
fix: windows check ci failure (#5287)
Browse files Browse the repository at this point in the history
bassmang authored Jan 31, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 33d9bd6 commit b562626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/samples/core_grpc_worker_runtime/run_host.py
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ async def main() -> None:

try:
# Wait for the service to stop
if os.system() == "Windows":
if os.name == "nt":
# On Windows, the signal is not available, so we wait for a new event
await asyncio.Event().wait()
else:

0 comments on commit b562626

Please sign in to comment.