mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 07:04:01 -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
|
@ -3,7 +3,7 @@
|
|||
# Copyright (C) 2019 Mustafa YILDIZ <mydiz@hotmail.com>
|
||||
#
|
||||
# This file may be distributed under the terms of the GNU GPLv3 license.
|
||||
import filament_switch_sensor
|
||||
from . import filament_switch_sensor
|
||||
|
||||
ADC_REPORT_TIME = 0.500
|
||||
ADC_SAMPLE_TIME = 0.03
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue