tesmart rewrite

This commit is contained in:
Devaev Maxim
2021-05-16 05:57:08 +03:00
parent 1fc8434f0a
commit 8db0ab20e0
11 changed files with 109 additions and 83 deletions

View File

@@ -295,7 +295,7 @@ class UserGpio:
async def cleanup(self) -> None:
for driver in self.__drivers.values():
try:
driver.cleanup()
await driver.cleanup()
except Exception:
get_logger().exception("Can't cleanup driver %s", driver)