aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-11-13 19:17:11 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2020-11-13 19:17:11 -0500
commit29228b3731dde3a707e4b507eedd54a634e3725a (patch)
tree632edf08783da3f40d0077a73c402d11d6af75cc /gallery_dl/postprocessor
parentb35d81189c65d5834430cd24ce50d3f5f6392868 (diff)
parent209a3c800871cd68edd2bc7ae661a24ecd496d2d (diff)
Update upstream source from tag 'upstream/1.15.3'
Update to upstream version '1.15.3' with Debian dir e4e814274dce1884e0f01e4c1dcfab7a594ef987
Diffstat (limited to 'gallery_dl/postprocessor')
-rw-r--r--gallery_dl/postprocessor/metadata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gallery_dl/postprocessor/metadata.py b/gallery_dl/postprocessor/metadata.py
index a955ba3..f88dde7 100644
--- a/gallery_dl/postprocessor/metadata.py
+++ b/gallery_dl/postprocessor/metadata.py
@@ -22,6 +22,8 @@ class MetadataPP(PostProcessor):
if mode == "custom":
self.write = self._write_custom
cfmt = options.get("content-format") or options.get("format")
+ if isinstance(cfmt, list):
+ cfmt = "\n".join(cfmt) + "\n"
self.contentfmt = util.Formatter(cfmt).format_map
ext = "txt"
elif mode == "tags":