1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

Fix duplicated metadata bug (#3033)

This commit is contained in:
pink-red 2022-10-13 21:17:23 +04:00 committed by GitHub
parent ed55bd3a5c
commit 88f8975ab9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -697,7 +697,7 @@ class DataJob(Job):
self.ascii = config.get(("output",), "ascii", ensure_ascii)
private = config.get(("output",), "private")
self.filter = util.identity if private else util.filter_dict
self.filter = dict.copy if private else util.filter_dict
def run(self):
extractor = self.extractor