adding status file
This commit is contained in:
parent
a85926a04c
commit
5862e4caf1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user