Skip to content

Commit

Permalink
Update spoti.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CheapNightbot committed Nov 27, 2024
1 parent 97be6da commit 8e0dadc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yutify/spoti.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ def find_tracks(self, song, artist, track, artist_ids) -> None:

if matching_artists:
release_date = track["album"]["release_date"]
tempo = round(self.get_tempo(track["id"]))
tempo = self.get_tempo(track["id"])
tempo = round(tempo) if tempo else None

self.music_info.append(
{
Expand Down

0 comments on commit 8e0dadc

Please sign in to comment.