From d0b160461a8bf9bd39ba4a8921dd19a2f7b7c27f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 4 Dec 2022 19:36:21 +0100 Subject: [PATCH] terrible workaround for errors with 'http-metadata' (#3334) --- gallery_dl/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/path.py b/gallery_dl/path.py index e901fb92..7d599ee2 100644 --- a/gallery_dl/path.py +++ b/gallery_dl/path.py @@ -219,7 +219,7 @@ class PathFormat(): self.path = self.path[:-1] self.temppath = self.realpath = self.realpath[:-1] elif not self.temppath: - self.build_path() + self.path = self.directory + "?" return True def build_filename(self, kwdict):