From 94d00e1ca20239f76bf7d064f8831c2fd25086d3 Mon Sep 17 00:00:00 2001 From: novatorem Date: Sun, 23 Aug 2020 11:25:19 -0400 Subject: [PATCH] Fix image definition --- api/spotify-playing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/spotify-playing.py b/api/spotify-playing.py index 38ab205..5847a4d 100644 --- a/api/spotify-playing.py +++ b/api/spotify-playing.py @@ -86,7 +86,7 @@ def makeSVG(data): else: item = data["item"] - img = loadImageB64(item["album"]["images"][1]["url"]) + image = loadImageB64(item["album"]["images"][1]["url"]) artistName = item["artists"][0]["name"].replace("&", "&") songName = item["name"].replace("&", "&")