Skip to content

Commit f418f0f

Browse files
committed
Black formatting, fixed syntax error
1 parent 125f2ad commit f418f0f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

adafruit_platformdetect/board.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def _clockwork_pi_id(self):
316316

317317
def _udoo_id(self):
318318
"""Try to detect the id of udoo board."""
319-
board_asset_tag == self.detector.check_board_asset_tag_value()
319+
board_asset_tag = self.detector.check_board_asset_tag_value()
320320
for board_id, board_tags in boards._UDOO_BOARD_IDS.items():
321321
if any(v == board_asset_tag for v in board_tags):
322322
return board_id

adafruit_platformdetect/constants/boards.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,4 @@
337337
_PINE64_DEV_IDS = (PINE64, PINEBOOK, PINEPHONE)
338338

339339
# UDOO
340-
_UDOO_BOARD_IDS = {
341-
UDOO_BOLT: (
342-
"SC40-2000-0000-C0|C",
343-
)
344-
}
340+
_UDOO_BOARD_IDS = {UDOO_BOLT: ("SC40-2000-0000-C0|C",)}

0 commit comments

Comments
 (0)