Skip to content

Commit e446fa2

Browse files
committed
One more CRAI nitpick
1 parent 5c2c119 commit e446fa2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

plugwise_usb/network/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,9 @@ async def discover_network_coordinator(self, load: bool = False) -> bool:
322322
ping_response = await ping_request.send()
323323
except StickTimeout as err:
324324
raise StickError(
325-
"The zigbee network coordinator (Circle+/Stealth+) with mac "
326-
+ "'%s' did not respond to ping request. Make "
327-
+ "sure the Circle+/Stealth+ is within reach of the USB-stick !",
328-
self._controller.mac_coordinator,
325+
f"The zigbee network coordinator (Circle+/Stealth+) with mac "
326+
f"'{self._controller.mac_coordinator}' did not respond to the ping request. "
327+
"Make sure the Circle+/Stealth+ is within reach of the USB-stick!"
329328
) from err
330329
if ping_response is None:
331330
return False

0 commit comments

Comments
 (0)