From 0efec9c5939032fb371c5cf51c19b5431c5da787 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Sat, 15 Oct 2016 12:27:07 +0200 Subject: [PATCH] send new line --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 9112141..0af0af6 100644 --- a/main.py +++ b/main.py @@ -161,6 +161,7 @@ def application(env, start_response): start_response("200 OK", [('Content-Type', 'application/json')]) print(arduino.write(message.encode())) + arduino.write(b'\n') return [json.dumps(message).encode()] if env["PATH_INFO"] == "/temps.json":