Skip to content

Commit

Permalink
Write mapped data as utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
lthurston committed Nov 14, 2023
1 parent 2405b5f commit d5793bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata_mapper/mappers/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def write_local_mapped_metadata(self, mapped_metadata):
if not os.path.exists(local_children_path):
os.makedirs(local_children_path)
page = open(page_path, "w+")
page.write(json.dumps(mapped_metadata))
page.write(json.dumps(mapped_metadata, ensure_ascii=False))

def write_s3_mapped_metadata(self, mapped_metadata):
s3_client = boto3.client('s3')
Expand Down

0 comments on commit d5793bd

Please sign in to comment.