Skip to content

Commit

Permalink
adjust lyrics checking
Browse files Browse the repository at this point in the history
  • Loading branch information
glomatico committed Apr 17, 2024
1 parent c35051a commit 345afbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamdl/downloader_song.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def get_lyrics(self, track_metadata: dict) -> Lyrics:
)
if (
track_metadata["relationships"].get("lyrics")
and track_metadata["relationships"]["lyrics"]["data"]
and track_metadata["relationships"]["lyrics"].get("data")
and track_metadata["relationships"]["lyrics"]["data"][0].get("attributes")
):
lyrics = self._get_lyrics(
Expand Down

0 comments on commit 345afbf

Please sign in to comment.