Skip to content

Commit

Permalink
reset filenames on empty file extensions (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed May 18, 2020
1 parent d17e962 commit abbd8fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gallery_dl/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,8 @@ def set_filename(self, kwdict):

if self.extension:
self.build_path()
else:
self.filename = ""

def set_extension(self, extension, real=True):
"""Set filename extension"""
Expand Down

0 comments on commit abbd8fb

Please sign in to comment.