mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-25 05:59:19 +00:00
fix: windows check ci failure (#5287)
This commit is contained in:
parent
33d9bd6d1d
commit
b5626262b4
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user