mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-04-20 22:13:49 +00:00
some error in example
This commit is contained in:
parent
3db73a8883
commit
f84d17566b
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ async def main () :
|
||||||
print ("Ack")
|
print ("Ack")
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
meshcore.stop()
|
mc.stop()
|
||||||
print("\nExiting...")
|
print("\nExiting...")
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
# Handle task cancellation from KeyboardInterrupt in asyncio.run()
|
# Handle task cancellation from KeyboardInterrupt in asyncio.run()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue