mirror of
git://soft.sys114.com/klipper
synced 2026-02-12 03:50:26 +09: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:
@@ -3,7 +3,7 @@
|
||||
# Copyright (C) 2016-2018 Kevin O'Connor <kevin@koconnor.net>
|
||||
#
|
||||
# This file may be distributed under the terms of the GNU GPLv3 license.
|
||||
import fan
|
||||
from . import fan
|
||||
|
||||
KELVIN_TO_CELSIUS = -273.15
|
||||
MAX_FAN_TIME = 5.0
|
||||
|
||||
Reference in New Issue
Block a user