mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
Restyled by yapf
This commit is contained in:
committed by
Mungai Geoffrey
parent
dc683e6314
commit
bb69ac1fc1
@@ -16,8 +16,7 @@ def send_track_file(trackid):
|
||||
"""
|
||||
try:
|
||||
filepath = [
|
||||
file["filepath"]
|
||||
for file in api.PRE_TRACKS
|
||||
file["filepath"] for file in api.PRE_TRACKS
|
||||
if file["_id"]["$oid"] == trackid
|
||||
][0]
|
||||
except (FileNotFoundError, IndexError):
|
||||
@@ -32,4 +31,5 @@ def get_sample_track():
|
||||
Returns a sample track object.
|
||||
"""
|
||||
|
||||
return instances.songs_instance.get_song_by_album("Legends Never Die", "Juice WRLD")
|
||||
return instances.songs_instance.get_song_by_album("Legends Never Die",
|
||||
"Juice WRLD")
|
||||
|
||||
Reference in New Issue
Block a user