From 4a399aa1034c2934e188c73338964f0e99a0c142 Mon Sep 17 00:00:00 2001 From: jbruce12000 Date: Mon, 7 Jun 2021 16:40:09 -0400 Subject: [PATCH] changing print statement to work on python 3.5 --- lib/oven.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oven.py b/lib/oven.py index 8858c56..974c5a0 100644 --- a/lib/oven.py +++ b/lib/oven.py @@ -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):