Made artist download work

This commit is contained in:
RemixDev 2021-07-05 18:11:17 +02:00
parent 4e1485f8d6
commit 07bdca4599
No known key found for this signature in database
GPG Key ID: B33962B465BDB51C
1 changed files with 6 additions and 1 deletions

View File

@ -50,7 +50,12 @@ def download(url, bitrate, portable, path):
for link in links:
downloadObject = generateDownloadObject(dz, link, bitrate)
Downloader(dz, downloadObject, settings).start()
if isinstance(downloadObject, list):
for obj in downloadObject:
Downloader(dz, obj, settings).start()
else:
Downloader(dz, downloadObject, settings).start()
if path is not None:
if path == '': path = '.'