mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-06-29 05:16:30 +00:00
Fix wrong parser
This commit is contained in:
parent
f76749a933
commit
33a66bee01
@ -57,7 +57,7 @@ class HostControl(object):
|
||||
writer.write("{}\n".format(command).encode())
|
||||
data = await reader.readline()
|
||||
|
||||
response = data.decode()
|
||||
response = data.decode().rstrip()
|
||||
_LOGGER.info("Receive from HostControl: %s.", response)
|
||||
|
||||
if response == "OK":
|
||||
|
Loading…
x
Reference in New Issue
Block a user