Skip to content

Commit 6cd20b5

Browse files
authored
Fix IP address (#6)
1 parent f2758b7 commit 6cd20b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connect_box/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Device:
2525

2626
mac: str = attr.ib()
2727
hostname: str = attr.ib(cmp=False)
28-
ip: Union[IPv4Address, IPv6Address] = attr.ib(cmp=False, factory=convert_ip)
28+
ip: Union[IPv4Address, IPv6Address] = attr.ib(cmp=False, convert=convert_ip)
2929

3030

3131
class ConnectBox:

0 commit comments

Comments
 (0)