We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d86648 commit 9eb7165Copy full SHA for 9eb7165
ucapi/api.py
@@ -102,7 +102,7 @@ async def init(
102
103
if disable_mdns_publish is False:
104
# Setup zeroconf service info
105
- name = f"{self._driver_info['driver_id']}._uc-integration._tcp.local."
+ name = f'{self._driver_info["driver_id"]}._uc-integration._tcp.local.'
106
hostname = local_hostname()
107
driver_name = _get_default_language_string(
108
self._driver_info["name"], "Unknown driver"
@@ -877,7 +877,7 @@ def local_hostname() -> str:
877
878
return (
879
os.getenv("UC_MDNS_LOCAL_HOSTNAME")
880
- or f"{socket.gethostname().split('.', 1)[0]}.local."
+ or f'{socket.gethostname().split(".", 1)[0]}.local.'
881
)
882
883
0 commit comments