Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
add smaller version of json files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickwasused committed Jul 23, 2022
1 parent 07de130 commit 11a0745
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,11 @@ def get_all_tags():
with open("json/tags.json", 'w', encoding='utf-8') as f:
dump(tags, f, ensure_ascii=False, indent=4)

with open("json/tags.min.json", 'w', encoding='utf-8') as f:
dump(tags, f, ensure_ascii=False)

with open("json/tags_ascii.json", 'w', encoding='utf-8') as f:
dump(tags, f, ensure_ascii=False, indent=4)
dump(tags, f, ensure_ascii=True, indent=4)

with open("json/tags_ascii.min.json", 'w', encoding='utf-8') as f:
dump(tags, f, ensure_ascii=True)

0 comments on commit 11a0745

Please sign in to comment.