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:
@@ -183,7 +183,10 @@ class _Gpio:
|
||||
|
||||
def close(self) -> None:
|
||||
if self.__chip:
|
||||
self.__chip.close()
|
||||
try:
|
||||
self.__chip.close()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
def switch_to_local(self) -> None:
|
||||
assert self.__target_line
|
||||
|
||||
Reference in New Issue
Block a user