mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 11:56:18 +00:00
some error in example
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user