fixed a bug with the async with statements

This commit is contained in:
UpstreamData
2021-10-26 13:29:28 -06:00
parent edbd1bbe94
commit 1372183af8
3 changed files with 7 additions and 10 deletions

View File

@@ -62,7 +62,7 @@ async def scan_network(network):
async def miner_light(ips: list):
await asyncio.gather(flip_light(ip) for ip in ips)
await asyncio.gather(*[flip_light(ip) for ip in ips])
async def flip_light(ip):