Fix bad variable override
This commit is contained in:
parent
ef66420f4e
commit
402d88fcec
|
@ -218,9 +218,9 @@ def downloadSong(destination, filename, entry, dlid, dldesc):
|
||||||
|
|
||||||
if dldesc is not None:
|
if dldesc is not None:
|
||||||
new_dl_links = list()
|
new_dl_links = list()
|
||||||
for entry in dl_links:
|
for link in dl_links:
|
||||||
if dldesc in entry["description"]:
|
if dldesc in link["description"]:
|
||||||
new_dl_links.append(entry)
|
new_dl_links.append(link)
|
||||||
dl_links = new_dl_links
|
dl_links = new_dl_links
|
||||||
|
|
||||||
if not dl_links:
|
if not dl_links:
|
||||||
|
|
Loading…
Reference in New Issue