From eef705ab62679ac61d0460f7cf00f68b66ca9ddf Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 7 Aug 2023 01:08:03 +0200 Subject: [PATCH] progress --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4f05d9d..477fae0 100755 --- a/main.py +++ b/main.py @@ -16,7 +16,7 @@ while 1: # ser.readline() Data = ser.readline().decode('ascii') print(Data) - outFile = open("arduino-fridge-powercontrol.json", "a") + outFile = open("arduino-fridge-powercontrol.json", "w") outFile.write(Data) outFile.close