From 8be56724f8846b63af080305b331f47ceb3bef91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 22 Feb 2022 15:45:10 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20missing=20attribute?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit self._custom wasn't defined on the object yet. --- 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 0ee114743..be41a65f4 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -64,6 +64,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._targetTemp = None self._targetBedTemp = None self._targetChamberTemp = None + self._custom = None self._temps = DataHistory( cutoff=settings().getInt(["temperature", "cutoff"]) * 60