[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
3401b669e8
commit
f9cb48c48f
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue