From 40365346b43b994a07039eec4a349c3d73b87d73 Mon Sep 17 00:00:00 2001 From: alfrix Date: Sun, 10 Sep 2023 18:31:13 -0300 Subject: [PATCH] printer_init: dump config to help debug issues --- screen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/screen.py b/screen.py index 46bb0cd8..d09055fc 100755 --- a/screen.py +++ b/screen.py @@ -889,6 +889,7 @@ class KlipperScreen(Gtk.Window): config = self.apiclient.send_request("printer/objects/query?configfile") if config is False: return self._init_printer("Error getting printer configuration") + logging.debug(config['result']['status']) # Reinitialize printer, in case the printer was shut down and anything has changed. self.printer.reinit(printer_info['result'], config['result']['status']) self.printer.available_commands = self.apiclient.get_gcode_help()['result']