diff --git a/docs/configuration.rst b/docs/configuration.rst index 8534ca8b..e4c450e5 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -1434,7 +1434,7 @@ compare ------- | Compare versions of the same file and replace/enumerate them on mismatch -| (requires `downloader.*.part`_ = ``true`` and `extractor.*.skip`_ = `false`) +| (requires `downloader.*.part`_ = ``true`` and `extractor.*.skip`_ = ``false``) compare.action -------------- diff --git a/gallery_dl/job.py b/gallery_dl/job.py index da285586..c717dc23 100644 --- a/gallery_dl/job.py +++ b/gallery_dl/job.py @@ -209,7 +209,7 @@ class DownloadJob(Job): # use fallback URLs if available for num, url in enumerate(fallback or (), 1): - util.remove_file(self.pathfmt.temppath) + util.remove_file(pathfmt.temppath) self.log.info("Trying fallback URL #%d", num) if self.download(url): break