From 37247dbaff82648d65b82a56fa3c07d4f8e4f4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 19 Jan 2020 22:53:06 +0100 Subject: [PATCH] miscellaneous fixes --- docs/configuration.rst | 2 +- gallery_dl/job.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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