Fix Python 3.6 compatibility for HomeKit controller (#14160)

Python 3.6's http client passes an additional argument to _send_output,
so add that to the function definition.
This commit is contained in:
Matthew Garrett authored and Martin Hjelmare committed 2018-04-29 09:46:36 +02:00
1 parent fd038b6de9
commit ef48a7ca2c
1 file changed
+1 -1
@@ -31,7 +31,7 @@ KNOWN_DEVICES = "{}-devices".format(DOMAIN)
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
def homekit_http_send(self, message_body=None): def homekit_http_send(self, message_body=None, encode_chunked=False):
r"""Send the currently buffered request and clear the buffer. r"""Send the currently buffered request and clear the buffer.
Appends an extra \r\n to the buffer. Appends an extra \r\n to the buffer.