diff --git a/api/spotify.py b/api/spotify.py index d3fa64b..7764052 100644 --- a/api/spotify.py +++ b/api/spotify.py @@ -77,7 +77,7 @@ def makeSVG(data): contentBar = "".join(["
" for i in range(barCount)]) barCSS = barGen(barCount) - if data == {} or data["name"] == 'None': + if data == {} or data["item"] == 'None': #contentBar = "" #Shows/Hides the EQ bar if no song is currently playing recentPlays = recentlyPlayed() recentPlaysLength = len(recentPlays["items"])