Skip to content

Commit

Permalink
Fix formatting in scan_ip function output for improved readability
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonacox committed Dec 10, 2024
1 parent ac3c12e commit c82f599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypowerwall/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c82f599

Please sign in to comment.