fix AttributeError when accessing 'temppath'
[ci skip]
This commit is contained in:
@@ -209,7 +209,7 @@ class DownloadJob(Job):
|
|||||||
|
|
||||||
# use fallback URLs if available
|
# use fallback URLs if available
|
||||||
for num, url in enumerate(fallback or (), 1):
|
for num, url in enumerate(fallback or (), 1):
|
||||||
util.remove_file(self.temppath)
|
util.remove_file(self.pathfmt.temppath)
|
||||||
self.log.info("Trying fallback URL #%d", num)
|
self.log.info("Trying fallback URL #%d", num)
|
||||||
if self.download(url):
|
if self.download(url):
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user