Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 4, 2024
2 parents 824e393 + fd60e0f commit 66e4e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/xhs/xhs_store_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ async def save_data_to_json(self, save_item: Dict, store_type: str):

save_data.append(save_item)
async with aiofiles.open(save_file_name, 'w', encoding='utf-8') as file:
await file.write(json.dumps(save_data, ensure_ascii=False))
await file.write(json.dumps(save_data, ensure_ascii=False, indent=4))

if config.ENABLE_GET_COMMENTS and config.ENABLE_GET_WORDCLOUD:
try:
Expand Down

0 comments on commit 66e4e6d

Please sign in to comment.