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

@@ -161,7 +161,7 @@ class InfosG3(Infos):
update = False
name = str(f'info-id.0x{addr:x}')
self.tracer.log(level, f'GEN3: {name} : {result}{unit}'
f' update: {update}')
if update:
self.tracer.log(level, f'GEN3: {name} : {result}{unit}')
i += 1