Roll HACS to 1.31.0

This commit is contained in:
root
2023-03-04 12:15:50 -08:00
parent 39fb3ccd1d
commit 8056390e49
8 changed files with 86 additions and 32 deletions

View File

@@ -17,7 +17,9 @@ class HACSStore(Store):
"""Load the data from disk if version matches."""
try:
data = json_util.load_json(self.path)
except BaseException as exception: # lgtm [py/catch-base-exception] pylint: disable=broad-except
except (
BaseException # lgtm [py/catch-base-exception] pylint: disable=broad-except
) as exception:
_LOGGER.critical(
"Could not load '%s', restore it from a backup or delete the file: %s",
self.path,