diff options
| author | 2020-01-21 01:08:43 -0500 | |
|---|---|---|
| committer | 2020-01-21 01:08:43 -0500 | |
| commit | 4366125d2580982abb57bc65a26fc1fb8ef2a5df (patch) | |
| tree | 743a26348e360c8b7f5eb89d4f704b015e902e68 /gallery_dl/job.py | |
| parent | bc435e826dbe37969d9cbe280f58810d054932cc (diff) | |
New upstream version 1.12.3upstream/1.12.3
Diffstat (limited to 'gallery_dl/job.py')
| -rw-r--r-- | gallery_dl/job.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/job.py b/gallery_dl/job.py index 699f057..c717dc2 100644 --- a/gallery_dl/job.py +++ b/gallery_dl/job.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2015-2019 Mike Fährmann +# Copyright 2015-2020 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -209,6 +209,7 @@ class DownloadJob(Job): # use fallback URLs if available for num, url in enumerate(fallback or (), 1): + util.remove_file(pathfmt.temppath) self.log.info("Trying fallback URL #%d", num) if self.download(url): break |
