summaryrefslogtreecommitdiff
path: root/kvmd/plugins/atx/gpio.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/atx/gpio.py')
-rw-r--r--kvmd/plugins/atx/gpio.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/kvmd/plugins/atx/gpio.py b/kvmd/plugins/atx/gpio.py
index bd49513c..70354da4 100644
--- a/kvmd/plugins/atx/gpio.py
+++ b/kvmd/plugins/atx/gpio.py
@@ -133,7 +133,10 @@ class Plugin(BaseAtx): # pylint: disable=too-many-instance-attributes
async def cleanup(self) -> None:
if self.__chip:
- self.__chip.close()
+ try:
+ self.__chip.close()
+ except Exception:
+ pass
# =====