fix: windows check ci failure (#5287)

This commit is contained in:
Griffin Bassman 2025-01-31 13:22:15 -05:00 committed by GitHub
parent 33d9bd6d1d
commit b5626262b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: