fix: fix any_lichee_riscv_board detection

This commit is contained in:
Aleksandr Saiapin 2022-09-11 12:19:49 +07:00
parent f1cb7e8619
commit 786c25c998
No known key found for this signature in database
GPG key ID: 21D50F9B9D096C41

View file

@ -665,7 +665,7 @@ class Board:
@property
def any_lichee_riscv_board(self) -> bool:
"""Check whether the current board is any defined Lichee RISC-V."""
return self.id in [v[0] for v in boards._LICHEE_RISCV_IDS]
return self.id in [v for v in boards._LICHEE_RISCV_IDS]
@property
def any_embedded_linux(self) -> bool: