EnergyLink: cleanup the second

This commit is contained in:
Fabian Dill
2022-02-24 06:17:39 +01:00
parent db152e6790
commit 68e9368bb3
3 changed files with 20 additions and 17 deletions

View File

@@ -183,7 +183,7 @@ async def game_watcher(ctx: FactorioContext):
}]))
ctx.rcon_client.send_command(
f"/ap-energylink -{value}")
logger.info(f"EnergyLink: Sent {value} Joules")
logger.info(f"EnergyLink: Sent {Utils.format_SI_prefix(value)}J")
await asyncio.sleep(0.1)