From c82f599c783779f365189595a7a58fbf6965feef Mon Sep 17 00:00:00 2001 From: Jason Cox Date: Mon, 9 Dec 2024 21:53:59 -0800 Subject: [PATCH] Fix formatting in scan_ip function output for improved readability --- pypowerwall/scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypowerwall/scan.py b/pypowerwall/scan.py index 03ca3b4..334065c 100644 --- a/pypowerwall/scan.py +++ b/pypowerwall/scan.py @@ -167,7 +167,7 @@ def scan_ip(addr: IPv4Address, context: ScanContext, result_queue: Queue) -> Non teg_type: Final[str] = type_selector(data.get('teg_type', POWERWALL)) if context.interactive: - print(f"{host} OPEN{context.dim()} - {context.subbold()}Found {teg_type} {din}{context.subbold()}\n\t\t\t\t\t\t\t\t\t [Firmware {version}]{context.normal()}") + print(f"{host} OPEN{context.dim()} - {context.subbold()}Found {teg_type} {din}{context.subbold()}\n\t\t\t\t\t [Firmware {version}]{context.normal()}") result_queue.put({ 'ip': addr, 'din': din,