diff --git a/ytmusicapi/mixins/browsing.py b/ytmusicapi/mixins/browsing.py index 667d65fe..e0aa13e2 100644 --- a/ytmusicapi/mixins/browsing.py +++ b/ytmusicapi/mixins/browsing.py @@ -482,7 +482,7 @@ def get_album_browse_id(self, audioPlaylistId: str) -> Optional[str]: # the server sent nothing or content cannot be decoded if decoded_body is None: - # this is unlikely. only defensive. + # this is unlikely. only defensive. avoid raising None has no[...] raise YTMusicError("Unable to read response body (album_browse_id)") decoded = decoded_body.encode("utf8").decode("unicode_escape")