pass close()

This commit is contained in:
Devaev Maxim
2020-09-13 17:19:57 +03:00
parent 002823b6e1
commit 41223fa8b2
3 changed files with 12 additions and 3 deletions

View File

@@ -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
# =====