fix errors

This commit is contained in:
Andrey
2021-02-28 09:46:06 +03:00
parent d0769b5b02
commit 22720a27bd
2 changed files with 15 additions and 8 deletions

View File

@@ -536,7 +536,7 @@ class MegaD:
])
elif cfg == MCP230:
extenders.append(port)
ext_int[cfg.inta] = port
ext_int[int(cfg.inta)] = port
values = await self.request(pt=port, cmd='get')
values = values.split(';')
for n in range(len(values)):