Skip to content

Commit 8c18b7d

Browse files
committed
Rewrite multiline strings to match expected format
1 parent 1d27d02 commit 8c18b7d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

zigpy_znp/tools/flash_read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async def read_firmware(radio_path: str) -> bytearray:
3333
raise RuntimeError(
3434
"Did not receive a bootloader handshake response!"
3535
" Make sure your adapter has just been plugged in and"
36-
" nothing else has had a chance to communicate with it. Alternatively, "
36+
" nothing else has had a chance to communicate with it. Alternatively,"
3737
" press the button furthest from the USB port. The LED should turn red."
3838
)
3939

zigpy_znp/tools/flash_write.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ async def write_firmware(firmware: bytes, radio_path: str, reset_nvram: bool):
6565

6666
if expected_crc != computed_crc:
6767
raise ValueError(
68-
f"Firmware CRC is incorrect. "
69-
f"Expected 0x{expected_crc:04X}, got 0x{computed_crc:04X}"
68+
f"Firmware CRC is incorrect."
69+
f" Expected 0x{expected_crc:04X}, got 0x{computed_crc:04X}"
7070
)
7171

7272
znp = ZNP(

0 commit comments

Comments
 (0)