From 627979416edd84bdd43667e2c417d9e22b6726fb Mon Sep 17 00:00:00 2001 From: Matthias Grimm Date: Mon, 14 Dec 2020 14:18:25 -0600 Subject: [PATCH] small bugfix --- src/Clients/KlipperClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Clients/KlipperClient.cpp b/src/Clients/KlipperClient.cpp index 6060449..0a87c7f 100644 --- a/src/Clients/KlipperClient.cpp +++ b/src/Clients/KlipperClient.cpp @@ -82,7 +82,7 @@ void KlipperClient::getPrinterJobResults() { } // Req 2 - if (printerData.isPrinting = true) { + if (printerData.state == "printing") { jsonDoc = this->jsonRequestClient->requestJson( PRINTER_REQUEST_GET, this->getInstanceServerTarget(),