1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 04:32:51 +01:00

apply expand_path() to archive paths

This commit is contained in:
Mike Fährmann 2018-03-08 18:06:39 +01:00
parent 32bbd12f08
commit 9fb82e6b43
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -203,7 +203,8 @@ class DownloadJob(Job):
self.sleep = self.extractor.config("sleep")
archive = self.extractor.config("archive")
if archive:
self.archive = util.DownloadArchive(archive, self.extractor)
path = util.expand_path(archive)
self.archive = util.DownloadArchive(path, self.extractor)
self.pathfmt.set_directory(keywords)
def handle_queue(self, url, keywords):