mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-07 22:14:05 -06:00
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>
This commit is contained in:
parent
6edc2946db
commit
f931da1b87
33 changed files with 43 additions and 40 deletions
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# This file may be distributed under the terms of the GNU GPLv3 license.
|
||||
import logging
|
||||
import probe, z_tilt
|
||||
from . import probe, z_tilt
|
||||
|
||||
class QuadGantryLevel:
|
||||
def __init__(self, config):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue