Skip to content

Commit

Permalink
album description may be None
Browse files Browse the repository at this point in the history
  • Loading branch information
cosven committed Jul 31, 2024
1 parent 42d1daf commit a922066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuo_ytmusic/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def v2_model_with_identifier(self, identifier) -> AlbumModelV2:
cover=self.cover,
songs=[t.v2_model_with_brief_album(brief_album) for t in self.tracks],
artists=self.v2_brief_artist_models(),
description=self.description,
description=self.description or '', # description may be None
released=self.year,
)

Expand Down

0 comments on commit a922066

Please sign in to comment.