diff --git a/AHT20_sensor_control/__main__.py b/AHT20_sensor_control/__main__.py index c002fa5..11f5f18 100644 --- a/AHT20_sensor_control/__main__.py +++ b/AHT20_sensor_control/__main__.py @@ -43,7 +43,7 @@ CRC8_check = AHT20Status.AHT20_CRCNOTOK while (CRC8_check == AHT20Status.AHT20_CRCNOTOK): temerature, humidity, CRC8_check = triggerAndMeasureAndCRCcheck(my_wrapper) - mylogger.info("{0:.2f} C\t{1:.2f} %RH\t{2}".format(temperature, humidity * 100, str(CRC8_check))) + mylogger.info("{0:.2f} C\t{1:.2f} %RH".format(temperature, humidity * 100)) time.sleep(MEASURE_INTERVAL) except KeyboardInterrupt: mylogger.warning("Stop by keyboard.")