diff --git a/lib/YandexPlayer.py b/lib/YandexPlayer.py index 49e33ec..2b5391a 100644 --- a/lib/YandexPlayer.py +++ b/lib/YandexPlayer.py @@ -52,13 +52,10 @@ def search(_str: str, _type: str = 'all') -> dict: for i in best.artists: artist_id = i.id artist_name = i.name - _tracks - list[Track] = [] + _tracks: list[Track] = [] tracks = {} album = client.albums_with_tracks(best.id) for i, volume in enumerate(album.volumes): - if len(album.volumes) > 1: - _tracks.append(f'💿 Диск {i + 1}') _tracks += volume _i = 1 for track in _tracks: