fix scanning

This commit is contained in:
Andrey
2021-01-25 17:21:55 +03:00
parent ff6225a959
commit 6164966d0b

View File

@@ -360,7 +360,7 @@ class MegaD:
return pty, m
async def scan_ports(self, nports=37):
for x in range(1, nports+1):
for x in range(0, nports+1):
ret = await self.scan_port(x)
if ret:
yield [x, *ret]