From f8f0c3f142dc76146ba9c83e512634a2859db488 Mon Sep 17 00:00:00 2001 From: Petri Honkala Date: Tue, 24 Sep 2019 18:42:37 +0300 Subject: [PATCH] z-tilt: Unresolved symbol fixed Signed-off-by: Petri Honkala --- klippy/extras/z_tilt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/klippy/extras/z_tilt.py b/klippy/extras/z_tilt.py index 3c3656f3..ac28a7b1 100644 --- a/klippy/extras/z_tilt.py +++ b/klippy/extras/z_tilt.py @@ -22,7 +22,8 @@ class ZAdjustHelper: "%s z_positions needs exactly %d items" % ( self.name, len(z_steppers))) if len(z_steppers) < 2: - raise config.error("%s requires multiple z steppers" % (self.name,)) + raise self.printer.config_error( + "%s requires multiple z steppers" % (self.name,)) self.z_steppers = z_steppers def adjust_steppers(self, adjustments, speed): toolhead = self.printer.lookup_object('toolhead')