send new line

This commit is contained in:
Arti Zirk 2016-10-15 12:27:07 +02:00
parent 338490e887
commit 0efec9c593
1 changed files with 1 additions and 0 deletions

View File

@ -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":