diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-06-12 09:55:57 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-06-15 17:15:53 -0400 |
commit | f931da1b87f1896660ec58c0e2434125c6306080 (patch) | |
tree | 52cd764d040dcab4ff1c32e1111a03e02503aeca /klippy/extras/mcp4451.py | |
parent | 6edc2946db9758b4a77a72ad8818240f3a7ae096 (diff) | |
download | kutter-f931da1b87f1896660ec58c0e2434125c6306080.tar.gz kutter-f931da1b87f1896660ec58c0e2434125c6306080.tar.xz kutter-f931da1b87f1896660ec58c0e2434125c6306080.zip |
extras: Use "from . import module" for relative imports
Use alternate import syntax to improve Python3 compatibility.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/mcp4451.py')
-rw-r--r-- | klippy/extras/mcp4451.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/mcp4451.py b/klippy/extras/mcp4451.py index d8b798e4..12d3b6a0 100644 --- a/klippy/extras/mcp4451.py +++ b/klippy/extras/mcp4451.py @@ -3,7 +3,7 @@ # Copyright (C) 2018 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. -import bus +from . import bus WiperRegisters = [0x00, 0x01, 0x06, 0x07] |