Skip to content

Commit d354b1f

Browse files
Update adafruit_platformdetect/board.py
Co-authored-by: Melissa LeBlanc-Williams <[email protected]>
1 parent 9f42d9e commit d354b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_platformdetect/board.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ def _rk3566_id(self) -> Optional[str]:
501501
board = None
502502
if board_value and "LubanCat-Zero" in board_value:
503503
board = boards.LUBANCAT_ZERO
504-
if board_value and "LubanCat-1" in board_value:
504+
if board_value and any([x in board_value for x in ("LubanCat1", "LubanCat-1")]):
505505
board = boards.LUBANCAT1
506506
if board_value and "Radxa CM3 IO" in board_value:
507507
board = boards.RADXA_CM3

0 commit comments

Comments
 (0)