File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ def _rk3566_id(self) -> Optional[str]:
501
501
board = None
502
502
if board_value and "LubanCat-Zero" in board_value :
503
503
board = boards .LUBANCAT_ZERO
504
- if board_value and any ([ x in board_value for x in ("LubanCat1" , "LubanCat-1" )] ):
504
+ if board_value and any (x in board_value for x in ("LubanCat1" , "LubanCat-1" )):
505
505
board = boards .LUBANCAT1
506
506
if board_value and "Radxa CM3 IO" in board_value :
507
507
board = boards .RADXA_CM3
@@ -511,7 +511,7 @@ def _rk3568_id(self) -> Optional[str]:
511
511
"""Check what type of rk3568 board."""
512
512
board_value = self .detector .get_device_model ()
513
513
board = None
514
- if board_value and any ([ x in board_value for x in ("LubanCat2" , "LubanCat-2" )] ):
514
+ if board_value and any (x in board_value for x in ("LubanCat2" , "LubanCat-2" )):
515
515
board = boards .LUBANCAT2
516
516
if board_value and "ROCK3 Model A" in board_value :
517
517
board = boards .ROCK_PI_3A
You can’t perform that action at this time.
0 commit comments