1
0
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:
Mike Fährmann 2020-05-16 22:05:40 +02:00
parent d17e9628b3
commit abbd8fbbd9
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -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"""