Update mqtt_publish_temp.py

This commit is contained in:
Robert Borzutzki 2021-02-15 11:50:24 +00:00
parent 66a25e7719
commit ec80f06840

View File

@ -61,7 +61,6 @@ while True:
try: try:
humidity = round(float(humidity), 2) humidity = round(float(humidity), 2)
break
except ValueError: except ValueError:
print("Not able to convert humidity to float: " + humidity) print("Not able to convert humidity to float: " + humidity)