mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
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:
parent
fd038b6de9
commit
ef48a7ca2c
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user