Skip to content

Commit

Permalink
Fix IP address (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Sep 10, 2019
1 parent f2758b7 commit 6cd20b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect_box/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Device:

mac: str = attr.ib()
hostname: str = attr.ib(cmp=False)
ip: Union[IPv4Address, IPv6Address] = attr.ib(cmp=False, factory=convert_ip)
ip: Union[IPv4Address, IPv6Address] = attr.ib(cmp=False, convert=convert_ip)


class ConnectBox:
Expand Down

0 comments on commit 6cd20b5

Please sign in to comment.