Skip to content

Commit

Permalink
Rewrite multiline strings to match expected format
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Oct 1, 2020
1 parent 1d27d02 commit 8c18b7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zigpy_znp/tools/flash_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def read_firmware(radio_path: str) -> bytearray:
raise RuntimeError(
"Did not receive a bootloader handshake response!"
" Make sure your adapter has just been plugged in and"
" nothing else has had a chance to communicate with it. Alternatively, "
" nothing else has had a chance to communicate with it. Alternatively,"
" press the button furthest from the USB port. The LED should turn red."
)

Expand Down
4 changes: 2 additions & 2 deletions zigpy_znp/tools/flash_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ async def write_firmware(firmware: bytes, radio_path: str, reset_nvram: bool):

if expected_crc != computed_crc:
raise ValueError(
f"Firmware CRC is incorrect. "
f"Expected 0x{expected_crc:04X}, got 0x{computed_crc:04X}"
f"Firmware CRC is incorrect."
f" Expected 0x{expected_crc:04X}, got 0x{computed_crc:04X}"
)

znp = ZNP(
Expand Down

0 comments on commit 8c18b7d

Please sign in to comment.