Chore: Make pylint happy

This commit is contained in:
rippanda12 2024-10-06 16:51:40 +03:00
parent 7fcf46bdc3
commit 47ce0add1d
No known key found for this signature in database
GPG key ID: DAEAD1E6D799C638

View file

@ -488,6 +488,7 @@ class Board:
board_value = self.detector.get_device_model().upper() board_value = self.detector.get_device_model().upper()
if "INDIEDROID NOVA" in board_value: if "INDIEDROID NOVA" in board_value:
return boards.INDIEDROID_NOVA return boards.INDIEDROID_NOVA
return None
def _orange_pi_id(self) -> Optional[str]: def _orange_pi_id(self) -> Optional[str]:
board_value = self.detector.get_device_model() board_value = self.detector.get_device_model()