mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
[server] minor refactors
This commit is contained in:
@@ -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
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user