From 4cea275a3340f7da02c90fc011aaa91b4f10c48d Mon Sep 17 00:00:00 2001 From: bacon Date: Sun, 10 Mar 2024 16:38:04 +0300 Subject: [PATCH] updated requirements.txt --- lib/YandexPlayer.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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: