mirror of
https://github.com/Alvin-Zilverstand/novatorem.git
synced 2026-03-06 02:57:12 +01:00
Fix referencing
This commit is contained in:
@@ -79,10 +79,10 @@ def makeSVG(data):
|
||||
|
||||
if data == {}:
|
||||
#contentBar = ""
|
||||
recentlyPlayed = recentlyPlayed()
|
||||
recentLength = len(recentlyPlayed["items"])
|
||||
recentlyPlays = recentlyPlayed()
|
||||
recentLength = len(recentlyPlays["items"])
|
||||
itemIndex = random.randint(0, recentLength - 1)
|
||||
item = recentlyPlayed["items"][itemIndex]["track"]
|
||||
item = recentlyPlays["items"][itemIndex]["track"]
|
||||
else:
|
||||
item = data["item"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user