summaryrefslogtreecommitdiffstats
path: root/gallery_dl/path.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/path.py')
-rw-r--r--gallery_dl/path.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gallery_dl/path.py b/gallery_dl/path.py
index 71927a5..1616bbd 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 + "?"