fix incorrect syntax

This commit is contained in:
Lizzy Kerrigan
2020-08-24 16:16:05 +01:00
committed by GitHub
parent bcdc1f98fd
commit 502de94b98

View File

@@ -77,7 +77,7 @@ def makeSVG(data):
contentBar = "".join(["<div class='bar'></div>" 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"])