hotfix iteration variable

This commit is contained in:
aj 2019-10-20 15:56:48 +01:00
parent cf365e9a3f
commit 8993682e48

View File

@ -60,7 +60,7 @@ class Counter:
if song.album.uri not in [i.album.uri for i in tracks]: if song.album.uri not in [i.album.uri for i in tracks]:
tracks.append(song) tracks.append(song)
elif query_artist: elif query_artist:
if song.artists[0].uri not in [song.artists[0].uri for i in tracks]: if song.artists[0].uri not in [i.artists[0].uri for i in tracks]:
tracks.append(song) tracks.append(song)
else: else:
tracks.append(song) tracks.append(song)