mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
296af3192e
Addresses an issue with how `asyncclick` deals with `KeyboardInterrupt` errors. Instead of the `click.main` receiving `KeyboardInterrupt` it receives `CancelledError` because it's a task running inside the loop. Also ensures that discovery catches the `CancelledError` and closes the http clients. |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
common.py | ||
device.py | ||
discover.py | ||
feature.py | ||
lazygroup.py | ||
light.py | ||
main.py | ||
schedule.py | ||
time.py | ||
usage.py | ||
wifi.py |