Only log bg data update if debug==True
This commit is contained in:
parent
2a6877cb35
commit
843cda4b6d
|
@ -183,6 +183,6 @@ class PingvinKL():
|
|||
self.run = True
|
||||
logging.info("Starting data monitor loop")
|
||||
while self.run:
|
||||
logging.info("Data monitor updating coil data")
|
||||
if debug: logging.info("Data monitor updating coil data")
|
||||
self.coils.update(debug)
|
||||
sleep(interval)
|
Loading…
Reference in New Issue