[server] minor refactors

This commit is contained in:
geoffrey45
2022-03-27 18:15:11 +03:00
parent ac988b8a96
commit e8994ce9ae
6 changed files with 27 additions and 32 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ def get_album_image(album: list) -> str:
def get_album_tracks(album: str, artist: str) -> List:
return [
track
for track in api.DB_TRACKS
for track in api.PRE_TRACKS
if track["album"] == album and track["albumartist"] == artist
]