diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-08-08 00:09:52 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-08-08 00:09:52 +0300 |
commit | fe0c2bf88fc20fc32a701b06360592fb62667445 (patch) | |
tree | 2fc487809741efcd6676e68ac694a156a7ed28ec /main.py | |
parent | 1c4307b653046ecb483629ee5094a9d7a765eb69 (diff) |
fix
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ async def handle_client(reader, writer): status = await relay_get() data = 'on' if status is True else 'off' - writer.write((json.dumps(data) + '\r\n').encode('utf-8')) + writer.write(data + '\r\n').encode('utf-8')) await writer.drain() writer.close() |