aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r--klippy/toolhead.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py
index f14e81b9..f09e9016 100644
--- a/klippy/toolhead.py
+++ b/klippy/toolhead.py
@@ -250,7 +250,7 @@ class ToolHead:
self.trapq_free_moves = ffi_lib.trapq_free_moves
self.step_generators = []
# Create kinematics class
- self.extruder = kinematics.extruder.DummyExtruder()
+ self.extruder = kinematics.extruder.DummyExtruder(self.printer)
kin_name = config.get('kinematics')
try:
mod = importlib.import_module('kinematics.' + kin_name)
@@ -470,7 +470,7 @@ class ToolHead:
# Submit move
try:
self.move(newpos, speed)
- except homing.CommandError as e:
+ except self.printer.command_error as e:
self.flush_step_generation()
raise
# Transmit move in "drip" mode