diff options
Diffstat (limited to 'kvmd/plugins/atx')
-rw-r--r-- | kvmd/plugins/atx/gpio.py | 5 |
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 # ===== |