aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-03-27 15:56:21 +0000
committerQMK Bot <hello@qmk.fm>2021-03-27 15:56:21 +0000
commit0d1162f1809bc9828d9b4655b8d3cf3db60c4b55 (patch)
tree2f075cfa8b102767254d6caebfd5913c4564f365
parentea472b46c9873655717b76ef07045fd106978d65 (diff)
parent5dc7951dc0a2f4c0f116db3c0fe992e4d3fd8657 (diff)
downloadqmk_firmware-0d1162f1809bc9828d9b4655b8d3cf3db60c4b55.tar.gz
qmk_firmware-0d1162f1809bc9828d9b4655b8d3cf3db60c4b55.zip
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--lib/python/qmk/json_schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/json_schema.py b/lib/python/qmk/json_schema.py
index b4cd1776b..077dfcaa9 100644
--- a/lib/python/qmk/json_schema.py
+++ b/lib/python/qmk/json_schema.py
@@ -15,7 +15,7 @@ def json_load(json_file):
15 Note: file must be a Path object. 15 Note: file must be a Path object.
16 """ 16 """
17 try: 17 try:
18 return hjson.load(json_file.open()) 18 return hjson.load(json_file.open(encoding='utf-8'))
19 19
20 except json.decoder.JSONDecodeError as e: 20 except json.decoder.JSONDecodeError as e:
21 cli.log.error('Invalid JSON encountered attempting to load {fg_cyan}%s{fg_reset}:\n\t{fg_red}%s', json_file, e) 21 cli.log.error('Invalid JSON encountered attempting to load {fg_cyan}%s{fg_reset}:\n\t{fg_red}%s', json_file, e)