From d25f664be3e125caba26cf7e81ab4dd100a672d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 16 Jul 2019 10:47:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20printer=20safety:=20Anycubic=201?= =?UTF-8?q?.1.2=20is=20already=20safe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix off by one error. See also https://community.octoprint.org/t/octoprint-tells-me-that-my-printers-firmware-lacks-mandatory-safety-features-what-does-this-mean/350/61 --- .../plugins/printer_safety_check/checks/firmware_unsafe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugins/printer_safety_check/checks/firmware_unsafe.py b/src/octoprint/plugins/printer_safety_check/checks/firmware_unsafe.py index f0b0d24c3..03719772e 100644 --- a/src/octoprint/plugins/printer_safety_check/checks/firmware_unsafe.py +++ b/src/octoprint/plugins/printer_safety_check/checks/firmware_unsafe.py @@ -68,7 +68,7 @@ class AnycubicCheck(Check): def _broken_version(self, line): version_str = line[len(self.VERSION):] version = get_comparable_version(version_str, base=True) - if version is not None and version <= self.FIXED_VERSION: + if version is not None and version < self.FIXED_VERSION: return True else: return False