Skip to content

Commit f9208b6

Browse files
committed
Move debug message
1 parent 3a77f75 commit f9208b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugwise_usb/connection/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def hardware_stick(self) -> str | None:
7474
@property
7575
def mac_stick(self) -> str:
7676
"""MAC address of USB-Stick. Raises StickError when not connected."""
77+
_LOGGER.debug("mac_stick: %s", self._mac_stick)
7778
if self._mac_stick is None:
78-
_LOGGER.debug("mac_stick: %s", self._mac_stick)
7979
raise StickError(
8080
"No mac address available. Connect and initialize USB-Stick first."
8181
)

0 commit comments

Comments
 (0)