We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 282ddb2 commit 906a308Copy full SHA for 906a308
labthings/server/wsgi/gevent.py
@@ -45,13 +45,11 @@ def register_zeroconf(self):
45
"description": self.labthing.description,
46
"types": ";".join(self.labthing.types),
47
},
48
- addresses=set(
49
- [
50
- socket.inet_aton(i)
51
- for i in get_all_addresses()
52
- if i not in ("127.0.0.1", "0.0.0.0")
53
- ]
54
- ),
+ addresses={
+ socket.inet_aton(i)
+ for i in get_all_addresses()
+ if i not in ("127.0.0.1", "0.0.0.0")
+ },
55
)
56
self.zeroconf_server = Zeroconf(ip_version=IPVersion.V4Only)
57
self.zeroconf_server.register_service(self.service_info)
0 commit comments