Fix OSError with custom component check (#2458)

This commit is contained in:
Pascal Vizeli 2021-01-24 16:46:49 +01:00 committed by GitHub
parent 480eebc6cb
commit 8f1763abe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: