Skip to content

Commit 17b12f3

Browse files
committed
mypy
1 parent d4cfc38 commit 17b12f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zeroconf/_services/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def addresses(self, value: List[bytes]) -> None:
181181
except ValueError:
182182
raise TypeError(
183183
"Addresses must either be IPv4 or IPv6 strings, bytes, or integers;"
184-
f" got %s. Hint: convert string addresses with socket.inet_pton" # type: ignore
184+
f" got {address}. Hint: convert string addresses with socket.inet_pton" # type: ignore
185185
)
186186
if addr.version == 4:
187187
self._ipv4_addresses.append(addr)

0 commit comments

Comments
 (0)