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/dotstar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/dotstar.py') diff --git a/klippy/extras/dotstar.py b/klippy/extras/dotstar.py index 9939012e..3075217b 100644 --- a/klippy/extras/dotstar.py +++ b/klippy/extras/dotstar.py @@ -3,7 +3,7 @@ # Copyright (C) 2019 Kevin O'Connor # # This file may be distributed under the terms of the GNU GPLv3 license. -import bus +from . import bus BACKGROUND_PRIORITY_CLOCK = 0x7fffffff00000000 -- cgit v1.2.3-70-g09d2