Removing logging error which triggered too often. Downloads are only created if they have not yet been downloaded.

This commit is contained in:
Roland 2024-07-03 21:30:02 -06:00
parent 50d95dad19
commit 54bc870b70
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -520,11 +520,6 @@ class DownloadManager:
download.settings = settings if settings is not None else download.settings
downloads.append(download)
download_urls = [i.url for i in downloads]
logger.debug(f'Creating downloads: {download_urls}')
if not downloads:
raise RuntimeError(f'Failed to create downloads because they were all in skip list: {skipped}')
try:
# Start downloading ASAP.
api_app.add_task(self.dispatch_downloads())