Fixed missing tab

This commit is contained in:
dooku 2021-10-24 20:13:13 +02:00
parent 22a5f735b3
commit 33b6d3a692

View File

@ -38,6 +38,6 @@ while True:
f.write(f'{time():.1f} {CO2} {T_SHT4x} {RH_SHT4x} {T_SCD4x} {RH_SCD4x} {T_SHT4x_signed} {T_SCD4x_signed}\n')
except minimalmodbus.NoResponseError:
with open('measure.log', 'a+') as logfile:
logfile.write(f'Read error for device {slave_address} at {time()}\n')
logfile.write(f'Read error for device {slave_address} at {time()}\n')
continue
sleep(10)