[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] 2023-09-15 23:28:59 +00:00
parent 3401b669e8
commit f9cb48c48f
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ class Node:
) )
elif load_type in ("SEARCH_RESULT", "TRACK_LOADED", "track", "search"): elif load_type in ("SEARCH_RESULT", "TRACK_LOADED", "track", "search"):
if self._version.major >= 4 and isinstance(data[data_type],dict): if self._version.major >= 4 and isinstance(data[data_type], dict):
data[data_type] = [data[data_type]] data[data_type] = [data[data_type]]
return [ return [
Track( Track(