From 8bfa031c46ba1ff867f64292438032e590d59b97 Mon Sep 17 00:00:00 2001 From: Charlie Powell <31997505+cp2004@users.noreply.github.com> Date: Wed, 2 Mar 2022 09:55:46 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20temperatures=20API=20(#444?= =?UTF-8?q?4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There was a `time` field in there, which was an integer, and so didn't work with the loop so it's excluded --- src/octoprint/printer/standard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index e011044ee..0872b5e77 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -844,6 +844,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): "offset": offsets[key] if offsets.get(key) is not None else 0, } for key, value in last.items() + if key != "time" } def get_temperature_history(self, *args, **kwargs):