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):