changing print statement to work on python 3.5

pull/26/head^2
jbruce12000 2021-06-07 16:40:09 -04:00
rodzic c5e5acc725
commit 4a399aa103
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -154,7 +154,7 @@ class TempSensorReal(TempSensor):
self.ok_count += 1
else:
log.error(f"Problem reading temp N/C:{self.noConnection} GND:{self.shortToGround} VCC:{self.shortToVCC} ???:{self.unknownError}")
log.error("Problem reading temp N/C:%s GND:%s VCC:%s ???:%s" % (self.noConnection,self.shortToGround,self.shortToVCC,self.unknownError))
self.bad_count += 1
if len(temps):