diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-09-04 11:49:43 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-09-04 12:10:36 -0400 |
commit | 08adecd226b4d712eb900b1768a7a96294a89c20 (patch) | |
tree | f264d23bcbf096388e35345d525bcac3afa5bdd6 /klippy/stepper.py | |
parent | f6dd97b78443548c236038ce50a69c24866e156d (diff) | |
download | kutter-08adecd226b4d712eb900b1768a7a96294a89c20.tar.gz kutter-08adecd226b4d712eb900b1768a7a96294a89c20.tar.xz kutter-08adecd226b4d712eb900b1768a7a96294a89c20.zip |
homing: Prefer printer.command_error() instead of homing.CommandError()
Update callers to use the printer.command_error reference instead of
directly using homing.CommandError() when raising or catching errors.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/stepper.py')
-rw-r--r-- | klippy/stepper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/stepper.py b/klippy/stepper.py index a2e31c61..a8ab2298 100644 --- a/klippy/stepper.py +++ b/klippy/stepper.py @@ -4,7 +4,7 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import math, logging, collections -import homing, chelper +import chelper class error(Exception): pass |