aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bed_mesh.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-06-12 09:55:57 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-06-15 17:15:53 -0400
commitf931da1b87f1896660ec58c0e2434125c6306080 (patch)
tree52cd764d040dcab4ff1c32e1111a03e02503aeca /klippy/extras/bed_mesh.py
parent6edc2946db9758b4a77a72ad8818240f3a7ae096 (diff)
downloadkutter-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/bed_mesh.py')
-rw-r--r--klippy/extras/bed_mesh.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/klippy/extras/bed_mesh.py b/klippy/extras/bed_mesh.py
index 10c07063..9d5f491d 100644
--- a/klippy/extras/bed_mesh.py
+++ b/klippy/extras/bed_mesh.py
@@ -4,11 +4,8 @@
# Copyright (C) 2018-2019 Eric Callahan <arksine.code@gmail.com>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
-import logging
-import math
-import json
-import probe
-import collections
+import logging, math, json, collections
+from . import probe
PROFILE_VERSION = 1
PROFILE_OPTIONS = {