Skip to content

Commit 608dfbf

Browse files
committed
mpflash: chore : fix imports
1 parent 8def006 commit 608dfbf

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/mpflash/mpflash/flash/worklist.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
from loguru import logger as log
77

88
from mpflash.common import FWInfo, filtered_comports
9+
from mpflash.downloaded import find_downloaded_firmware
910
from mpflash.errors import MPFlashError
10-
11-
from ..downloaded import find_downloaded_firmware
12-
from ..list import show_mcus
13-
from ..mpboard_id import find_known_board
14-
from ..mpremoteboard import MPRemoteBoard
11+
from mpflash.list import show_mcus
12+
from mpflash.mpboard_id import find_known_board
13+
from mpflash.mpremoteboard import MPRemoteBoard
1514

1615
# #########################################################################################################
1716
WorkList = List[Tuple[MPRemoteBoard, FWInfo]]
@@ -41,9 +40,7 @@ def auto_update(
4140
wl: WorkList = []
4241
for mcu in conn_boards:
4342
if mcu.family not in ("micropython", "unknown"):
44-
log.warning(
45-
f"Skipping flashing {mcu.family} {mcu.port} {mcu.board} on {mcu.serialport} as it is not a MicroPython firmware"
46-
)
43+
log.warning(f"Skipping flashing {mcu.family} {mcu.port} {mcu.board} on {mcu.serialport} as it is not a MicroPython firmware")
4744
continue
4845
board_firmwares = find_downloaded_firmware(
4946
fw_folder=fw_folder,

0 commit comments

Comments
 (0)