Skip to content

Commit

Permalink
merge #5186: Fix filename formatting silently failing under certain c…
Browse files Browse the repository at this point in the history
…ircumstances
  • Loading branch information
mikf committed Feb 10, 2024
2 parents c83d0a1 + 909830f commit 44a1a66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gallery_dl/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ def fix_extension(self, _=None):
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 + "?"
Expand Down

0 comments on commit 44a1a66

Please sign in to comment.