Skip to content

Commit

Permalink
Fix duplicated metadata bug (#3033)
Browse files Browse the repository at this point in the history
  • Loading branch information
pink-red authored Oct 13, 2022
1 parent ed55bd3 commit 88f8975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_dl/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def __init__(self, url, parent=None, file=sys.stdout, ensure_ascii=True):
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
Expand Down

0 comments on commit 88f8975

Please sign in to comment.