diff options
| author | 2021-02-16 21:36:00 -0500 | |
|---|---|---|
| committer | 2021-02-16 21:36:00 -0500 | |
| commit | b99b946e32279961452a2c1143d9cc1b1c2db32b (patch) | |
| tree | 4644c7bd326a5ded783609ac3aafa0c357815603 /gallery_dl/postprocessor | |
| parent | 039a989d1d4351612c15d117ce0c388eb816b0c1 (diff) | |
| parent | fc83315c164afd74734adf27e0f7fec2011904aa (diff) | |
Update upstream source from tag 'upstream/1.16.5'
Update to upstream version '1.16.5'
with Debian dir cf3daef99ed1e95e13091ce2976ff5f6c8dbecf6
Diffstat (limited to 'gallery_dl/postprocessor')
| -rw-r--r-- | gallery_dl/postprocessor/metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/postprocessor/metadata.py b/gallery_dl/postprocessor/metadata.py index 71a67c1..c08f111 100644 --- a/gallery_dl/postprocessor/metadata.py +++ b/gallery_dl/postprocessor/metadata.py @@ -91,7 +91,7 @@ class MetadataPP(PostProcessor): def _filename_extfmt(self, pathfmt): kwdict = pathfmt.kwdict - ext = kwdict["extension"] + ext = kwdict.get("extension") kwdict["extension"] = pathfmt.extension kwdict["extension"] = pathfmt.prefix + self._extension_fmt(kwdict) filename = pathfmt.build_filename() |
