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

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 = '.'