Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
Require at least zeroconf 0.27.1
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Jun 6, 2020
1 parent ffc3cd0 commit 84fbbd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion netdisco/discoverables/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def info_from_entry(self, entry):
properties[key.decode('utf-8')] = value

info = {
ATTR_HOST: str(ipaddress.ip_address(entry.address)),
ATTR_HOST: str(ipaddress.ip_address(entry.addresses[0])),
ATTR_PORT: entry.port,
ATTR_HOSTNAME: entry.server,
ATTR_PROPERTIES: properties,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
author='Paulus Schoutsen',
author_email='[email protected]',
license='Apache License 2.0',
install_requires=['requests>=2.0', 'zeroconf>=0.21.0'],
install_requires=['requests>=2.0', 'zeroconf>=0.27.1'],
python_requires='>=3',
packages=find_packages(exclude=['tests', 'tests.*']),
zip_safe=False,
Expand Down

0 comments on commit 84fbbd7

Please sign in to comment.