[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-03-28 02:08:22 +00:00
parent 86b35106b2
commit 5fcfc73901
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ class Node:
) )
elif load_type in ("LOAD_FAILED", "error"): elif load_type in ("LOAD_FAILED", "error"):
exception = data['data'] if self._version.major >= 4 else data["exception"] exception = data["data"] if self._version.major >= 4 else data["exception"]
raise TrackLoadError( raise TrackLoadError(
f"{exception['message']} [{exception['severity']}]", f"{exception['message']} [{exception['severity']}]",
) )