apply expand_path() to archive paths
This commit is contained in:
@@ -203,7 +203,8 @@ class DownloadJob(Job):
|
|||||||
self.sleep = self.extractor.config("sleep")
|
self.sleep = self.extractor.config("sleep")
|
||||||
archive = self.extractor.config("archive")
|
archive = self.extractor.config("archive")
|
||||||
if 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)
|
self.pathfmt.set_directory(keywords)
|
||||||
|
|
||||||
def handle_queue(self, url, keywords):
|
def handle_queue(self, url, keywords):
|
||||||
|
|||||||
Reference in New Issue
Block a user