From 786c25c998040b132d4bd4cd50fda2a0678d857c Mon Sep 17 00:00:00 2001 From: Aleksandr Saiapin Date: Sun, 11 Sep 2022 12:19:49 +0700 Subject: [PATCH] fix: fix any_lichee_riscv_board detection --- adafruit_platformdetect/board.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_platformdetect/board.py b/adafruit_platformdetect/board.py index 54e0ff5..a6629fc 100644 --- a/adafruit_platformdetect/board.py +++ b/adafruit_platformdetect/board.py @@ -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: