improve logging

This commit is contained in:
Stefan Allius
2024-05-07 21:20:12 +02:00
parent e15387b1ff
commit 3fd528bdbe
5 changed files with 10 additions and 10 deletions

View File

@@ -122,5 +122,5 @@ class InfosG3P(Infos):
name = str(f'info-id.0x{addr:x}')
update = False
self.tracer.log(level, f'GEN3PLUS: {name} : {result}{unit}'
f' update: {update}')
if update:
self.tracer.log(level, f'GEN3PLUS: {name} : {result}{unit}')