diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2025-07-22 15:34:00 +0000 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2025-07-22 14:17:43 -0400 |
commit | ef4c76fe9494d0e011d6da5610fa868d2e702fff (patch) | |
tree | 0867a1d780bf2d0afda8f162450cbbf54a54d663 | |
parent | 116b304541f75a7975e7cdfb0689e673a9782d09 (diff) | |
download | kutter-ef4c76fe9494d0e011d6da5610fa868d2e702fff.tar.gz kutter-ef4c76fe9494d0e011d6da5610fa868d2e702fff.tar.xz kutter-ef4c76fe9494d0e011d6da5610fa868d2e702fff.zip |
safe_z_home: correct error call
Signed-off-by: Paul Arthur <paul.arthur@flowerysong.com>
-rw-r--r-- | klippy/extras/safe_z_home.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/safe_z_home.py b/klippy/extras/safe_z_home.py index 1693487a..64b1ab00 100644 --- a/klippy/extras/safe_z_home.py +++ b/klippy/extras/safe_z_home.py @@ -14,7 +14,7 @@ class SafeZHoming: self.z_hop_speed = config.getfloat('z_hop_speed', 15., above=0.) zconfig = manual_probe.lookup_z_endstop_config(config) if zconfig is None: - raise gcmd.error('Missing Z endstop config for safe_z_homing') + raise config.error('Missing Z endstop config for safe_z_homing') self.max_z = zconfig.getfloat('position_max', note_valid=False) self.speed = config.getfloat('speed', 50.0, above=0.) self.move_to_previous = config.getboolean('move_to_previous', False) |