Restyled by yapf

This commit is contained in:
Restyled.io
2022-04-03 10:45:57 +00:00
committed by Mungai Geoffrey
parent dc683e6314
commit bb69ac1fc1
3 changed files with 15 additions and 19 deletions
+3 -3
View File
@@ -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")