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:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# This file may be distributed under the terms of the GNU GPLv3 license.
|
||||
import logging
|
||||
import tmc, tmc_uart, tmc2130
|
||||
from . import tmc, tmc_uart, tmc2130
|
||||
|
||||
TMC_FREQUENCY=12000000.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user