From 3c8b904a26063de9718429c4e10ce42bc5bec73f Mon Sep 17 00:00:00 2001 From: jneilliii Date: Wed, 30 Oct 2024 00:38:25 -0400 Subject: [PATCH] revert access code requirement --- octoprint_bambu_printer/printer/bambu_virtual_printer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoprint_bambu_printer/printer/bambu_virtual_printer.py b/octoprint_bambu_printer/printer/bambu_virtual_printer.py index 78cfc52..60f3c0c 100644 --- a/octoprint_bambu_printer/printer/bambu_virtual_printer.py +++ b/octoprint_bambu_printer/printer/bambu_virtual_printer.py @@ -264,7 +264,7 @@ def _create_client_connection(self): self._settings.get(["device_type"]) == "" or self._settings.get(["serial"]) == "" or self._settings.get(["username"]) == "" - or (self._settings.get(["access_code"]) == "" and self._settings.get_boolean(["local_mqtt"])) + or self._settings.get(["access_code"]) == "" ): msg = "invalid settings to start connection with Bambu Printer" self._log.debug(msg)