add services

This commit is contained in:
Andrey
2020-12-29 12:36:48 +03:00
parent db52d93ee4
commit 577119e41a
5 changed files with 112 additions and 21 deletions

View File

@@ -178,7 +178,7 @@ class MegaD:
async def get_all_ports(self):
for x in range(37):
await self.get_port(x)
asyncio.create_task(self.get_port(x))
async def reboot(self, save=True):
await self.save()