From efa63449640578803b8c6c6278d3689639189370 Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Sat, 22 Jan 2022 07:35:57 -0300 Subject: [PATCH] bed_mesh: use default profile (#450) currently the bed_mesh panel will create a profile called None if no profile is selected, but klipper will use the default profile if that is the case, using the default profile if nothing was selected should be correct. --- panels/bed_mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/bed_mesh.py b/panels/bed_mesh.py index b27018cc..20e14557 100644 --- a/panels/bed_mesh.py +++ b/panels/bed_mesh.py @@ -67,7 +67,7 @@ class BedMeshPanel(ScreenPanel): def activate_mesh(self, profile): if profile == "": - profile = None + profile = "default" logging.debug("Activating profile: %s %s" % (self.active_mesh, profile)) if profile != self.active_mesh: