From 5862e4caf1e0fcf3d0affe49a0262536eea4acc9 Mon Sep 17 00:00:00 2001 From: Tanaes Date: Sat, 23 Jul 2022 11:13:07 -0400 Subject: [PATCH] adding status file --- lib/ovenWatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ovenWatcher.py b/lib/ovenWatcher.py index d699efe..be899d3 100644 --- a/lib/ovenWatcher.py +++ b/lib/ovenWatcher.py @@ -32,7 +32,7 @@ class OvenWatcher(threading.Thread): while True: oven_state = self.oven.get_state() - with open(config.status_file, 'w') as f + with open(config.status_file, 'w') as f: f.write(oven_state) # record state for any new clients that join