Skip to content

Commit fbfa600

Browse files
committed
Correct error raised bytes MAC address
1 parent f3070a3 commit fbfa600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_wiznet5k/adafruit_wiznet5k.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def mac_address(self, address: Union[MacAddressRaw, str]) -> None:
386386
"""
387387
try:
388388
address = [int(x, 16) for x in address.split(":")]
389-
except AttributeError:
389+
except TypeError:
390390
pass
391391
try:
392392
if len(address) != 6:

0 commit comments

Comments
 (0)