mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
pass close()
This commit is contained in:
@@ -176,7 +176,10 @@ class _Gpio:
|
||||
|
||||
def close(self) -> None:
|
||||
if self.__chip:
|
||||
self.__chip.close()
|
||||
try:
|
||||
self.__chip.close()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
@aiotools.atomic
|
||||
async def reset(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user