From f931da1b87f1896660ec58c0e2434125c6306080 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 12 Jun 2020 09:55:57 -0400 Subject: extras: Use "from . import module" for relative imports Use alternate import syntax to improve Python3 compatibility. Signed-off-by: Kevin O'Connor --- klippy/extras/delta_calibrate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'klippy/extras/delta_calibrate.py') diff --git a/klippy/extras/delta_calibrate.py b/klippy/extras/delta_calibrate.py index f9af963a..c927eb5e 100644 --- a/klippy/extras/delta_calibrate.py +++ b/klippy/extras/delta_calibrate.py @@ -4,7 +4,8 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import math, logging, collections -import probe, mathutil +import mathutil +from . import probe # A "stable position" is a 3-tuple containing the number of steps # taken since hitting the endstop on each delta tower. Delta -- cgit v1.2.3-70-g09d2