Handle errors is toolbit json more gracefully

This commit is contained in:
sliptonic
2020-11-14 11:06:02 -06:00
parent cbc8524ff9
commit dbf3ebeabe
2 changed files with 14 additions and 8 deletions

View File

@@ -367,6 +367,7 @@ class ToolBit(object):
def Declaration(path):
PathLog.track(path)
with open(path, 'r') as fp:
return json.load(fp)