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.pull/13971/head^2
parent
fd038b6de9
commit
ef48a7ca2c
|
@ -31,7 +31,7 @@ KNOWN_DEVICES = "{}-devices".format(DOMAIN)
|
|||
_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.
|
||||
|
||||
Appends an extra \r\n to the buffer.
|
||||
|
|
Loading…
Reference in New Issue