import jsondecodeerror seperately since its not in ujson
This commit is contained in:
parent
919ab12b76
commit
39d0be32ac
6 changed files with 15 additions and 9 deletions
|
@ -32,7 +32,7 @@ with open(
|
|||
os.path.dirname(
|
||||
os.path.realpath(__file__)) + '/info.json', 'r') as info_file:
|
||||
data = info_file.read().strip()
|
||||
version = json.loads(data, strict=False)['version']
|
||||
version = json.loads(data)['version']
|
||||
|
||||
BOARD_CACHE_FILE = identifyhome.identify_home() + '/board-index.cache.json'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue