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/manual_stepper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'klippy/extras/manual_stepper.py') diff --git a/klippy/extras/manual_stepper.py b/klippy/extras/manual_stepper.py index c549a951..5807c04c 100644 --- a/klippy/extras/manual_stepper.py +++ b/klippy/extras/manual_stepper.py @@ -3,7 +3,8 @@ # Copyright (C) 2019 Kevin O'Connor # # This file may be distributed under the terms of the GNU GPLv3 license. -import stepper, homing, force_move, chelper +import stepper, homing, chelper +from . import force_move ENDSTOP_SAMPLE_TIME = .000015 ENDSTOP_SAMPLE_COUNT = 4 -- cgit v1.2.3-70-g09d2