Commit c7d6ce80 authored by José Henrique's avatar José Henrique
Browse files

Fix encoding

parent 143a8df1
...@@ -142,10 +142,10 @@ def format_json(): ...@@ -142,10 +142,10 @@ def format_json():
maintainers, key=operator.itemgetter('name', 'country')) maintainers, key=operator.itemgetter('name', 'country'))
# Dump them # Dump them
devices = json.dumps(devices, indent=3, sort_keys=False) devices = json.dumps(devices, indent=3, sort_keys=False, ensure_ascii=False)
lead = json.dumps(lead, indent=3, sort_keys=False) lead = json.dumps(lead, indent=3, sort_keys=False, ensure_ascii=False)
core = json.dumps(core, indent=3, sort_keys=False) core = json.dumps(core, indent=3, sort_keys=False, ensure_ascii=False)
maintainers = json.dumps(maintainers, indent=3, sort_keys=False) maintainers = json.dumps(maintainers, indent=3, sort_keys=False, ensure_ascii=False)
# Open JSON's # Open JSON's
devices_json = open('devices.json', 'w') devices_json = open('devices.json', 'w')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment