From 779b19b02f55f0dcbcf813075c104bd3c23f3506 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 8 Aug 2021 00:10:07 +0300 Subject: fix again --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index bfbc40e..18a810b 100755 --- a/main.py +++ b/main.py @@ -54,7 +54,7 @@ async def handle_client(reader, writer): status = await relay_get() data = 'on' if status is True else 'off' - writer.write(data + '\r\n').encode('utf-8')) + writer.write(data + '\r\n').encode('utf-8') await writer.drain() writer.close() -- cgit v1.2.3