Skip to content

Commit 23fdcce

Browse files
committed
Fix a logging call
The format string expects three parameters, one of them was accidentally passed to the log_warning_once() method instead. Fixes: aa1f484 ("Improve test coverage, and fix issues found")
1 parent e11700f commit 23fdcce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zeroconf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2079,7 +2079,7 @@ def send(self, out, addr=_MDNS_ADDR, port=_MDNS_PORT):
20792079
if bytes_sent != len(packet):
20802080
self.log_warning_once(
20812081
'!!! sent %d out of %d bytes to %r' % (
2082-
bytes_sent, len(packet)), s)
2082+
bytes_sent, len(packet), s))
20832083

20842084
def close(self):
20852085
"""Ends the background threads, and prevent this instance from

0 commit comments

Comments
 (0)