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
|
self.run = True
|
||||||
logging.info("Starting data monitor loop")
|
logging.info("Starting data monitor loop")
|
||||||
while self.run:
|
while self.run:
|
||||||
logging.info("Data monitor updating coil data")
|
if debug: logging.info("Data monitor updating coil data")
|
||||||
self.coils.update(debug)
|
self.coils.update(debug)
|
||||||
sleep(interval)
|
sleep(interval)
|
Loading…
Reference in New Issue