From e32602935599fae042ff4193053f15ca3ec93776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 9 Nov 2022 10:33:09 +0100 Subject: [PATCH] build path when skipping archived files fixes bug from 8124c16a --- gallery_dl/path.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gallery_dl/path.py b/gallery_dl/path.py index efcacf6d..ea3cfb8d 100644 --- a/gallery_dl/path.py +++ b/gallery_dl/path.py @@ -218,6 +218,8 @@ class PathFormat(): if self.path[-1] == ".": self.path = self.path[:-1] self.temppath = self.realpath = self.realpath[:-1] + elif not self.path: + self.build_path() return True def build_filename(self, kwdict):