mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
[server] minor refactors
This commit is contained in:
@@ -21,7 +21,7 @@ def get_albums():
|
||||
"""returns all the albums"""
|
||||
albums = []
|
||||
|
||||
for song in api.DB_TRACKS:
|
||||
for song in api.PRE_TRACKS:
|
||||
al_obj = {"name": song["album"], "artist": song["artists"]}
|
||||
|
||||
if al_obj not in albums:
|
||||
|
||||
Reference in New Issue
Block a user