From 909830f8eaec65c66fca5e0b9468f7560e6a6600 Mon Sep 17 00:00:00 2001 From: blankie Date: Sat, 10 Feb 2024 21:18:57 +1100 Subject: [PATCH] fix filename formatting silently failing under certain circumstances --- gallery_dl/path.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gallery_dl/path.py b/gallery_dl/path.py index 71927a55..1616bbda 100644 --- a/gallery_dl/path.py +++ b/gallery_dl/path.py @@ -231,6 +231,8 @@ class PathFormat(): self.temppath = self.realpath = self.realpath[:-1] elif not self.temppath: self.build_path() + except exception.GalleryDLException: + raise except Exception: self.path = self.directory + "?" self.realpath = self.temppath = self.realdirectory + "?"