Fix bad variable override

This commit is contained in:
Joshua Boniface 2023-04-06 22:20:50 -04:00
parent ef66420f4e
commit 402d88fcec
1 changed files with 3 additions and 3 deletions

View File

@ -218,9 +218,9 @@ def downloadSong(destination, filename, entry, dlid, dldesc):
if dldesc is not None:
new_dl_links = list()
for entry in dl_links:
if dldesc in entry["description"]:
new_dl_links.append(entry)
for link in dl_links:
if dldesc in link["description"]:
new_dl_links.append(link)
dl_links = new_dl_links
if not dl_links: