mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
reset filenames on empty file extensions (#733)
This commit is contained in:
parent
d17e9628b3
commit
abbd8fbbd9
@ -772,6 +772,8 @@ class PathFormat():
|
||||
|
||||
if self.extension:
|
||||
self.build_path()
|
||||
else:
|
||||
self.filename = ""
|
||||
|
||||
def set_extension(self, extension, real=True):
|
||||
"""Set filename extension"""
|
||||
|
Loading…
Reference in New Issue
Block a user