mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +00:00
Fix OSError with custom component check (#2458)
This commit is contained in:
parent
480eebc6cb
commit
8f1763abe2
@ -32,7 +32,7 @@ class CheckCoreSecurity(CheckBase):
|
|||||||
reference=SecurityReference.CUSTOM_COMPONENTS_BELOW_2021_1_5,
|
reference=SecurityReference.CUSTOM_COMPONENTS_BELOW_2021_1_5,
|
||||||
suggestions=[SuggestionType.EXECUTE_UPDATE],
|
suggestions=[SuggestionType.EXECUTE_UPDATE],
|
||||||
)
|
)
|
||||||
except AwesomeVersionException:
|
except (AwesomeVersionException, OSError):
|
||||||
return
|
return
|
||||||
|
|
||||||
async def approve_check(self) -> bool:
|
async def approve_check(self) -> bool:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user