fix filename formatting silently failing under certain circumstances

This commit is contained in:
blankie
2024-02-10 21:18:57 +11:00
parent 5c2a2321a2
commit 909830f8ea

View File

@@ -231,6 +231,8 @@ class PathFormat():
self.temppath = self.realpath = self.realpath[:-1] self.temppath = self.realpath = self.realpath[:-1]
elif not self.temppath: elif not self.temppath:
self.build_path() self.build_path()
except exception.GalleryDLException:
raise
except Exception: except Exception:
self.path = self.directory + "?" self.path = self.directory + "?"
self.realpath = self.temppath = self.realdirectory + "?" self.realpath = self.temppath = self.realdirectory + "?"