summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-08-08 00:10:07 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-08-08 00:10:07 +0300
commit779b19b02f55f0dcbcf813075c104bd3c23f3506 (patch)
treebb183bf2e38189843389559988ac0a74d7ff19ce /main.py
parentfe0c2bf88fc20fc32a701b06360592fb62667445 (diff)
fix again
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
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()