fix access token lookup

This commit is contained in:
Lincoln Stein 2024-07-02 20:37:26 -04:00 committed by psychedelicious
parent 7c01b69c12
commit a11dc62c2e

View File

@ -185,7 +185,7 @@ class DownloadQueueService(DownloadQueueServiceBase):
job = DownloadJob(
source=url,
dest=path,
access_token=access_token,
access_token=access_token or self._lookup_access_token(url),
)
mfdj.download_parts.add(job)
self._download_part2parent[job.source] = mfdj