From 544f8c1e8567db6b4fe62c0b2539a7b2efcd4b68 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 21 Jun 2018 14:33:55 -0400 Subject: stepper: Add a get_name() method to PrinterStepper Signed-off-by: Kevin O'Connor --- klippy/extras/z_tilt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/z_tilt.py') diff --git a/klippy/extras/z_tilt.py b/klippy/extras/z_tilt.py index 4966a2e3..7b20f387 100644 --- a/klippy/extras/z_tilt.py +++ b/klippy/extras/z_tilt.py @@ -83,7 +83,7 @@ class ZTilt: positions.append((stepper_offset, s)) # Report on movements msg = "Making the following Z tilt adjustments:\n%s\nz_offset = %.6f" % ( - "\n".join(["%s = %.6f" % (s.name, so) for so, s in positions]), + "\n".join(["%s = %.6f" % (s.get_name(), so) for so, s in positions]), z_adjust - z_offset) logging.info(msg) self.gcode.respond_info(msg) -- cgit v1.2.3-70-g09d2