From 841c6e7db0844e9141a2afc471c417285eba407b Mon Sep 17 00:00:00 2001 From: WorldObservationLog Date: Thu, 30 May 2024 20:29:00 +0800 Subject: [PATCH] fix: TypeError when with --include-participate-songs arg --- src/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.py b/src/api.py index 40b4219..32b8ef8 100644 --- a/src/api.py +++ b/src/api.py @@ -223,7 +223,7 @@ async def get_songs_from_artist(artist_id: str, storefront: str, token: str, lan if artist_song.next: next_songs = await get_songs_from_artist(artist_id, storefront, token, lang, offset + 20) songs.extend(next_songs) - return list[set(songs)] + return list(set(songs)) @alru_cache