Use SafeLoader in karabiner compile script
This commit is contained in:
parent
324fbeec8f
commit
5f2b3ea54b
@ -6,4 +6,4 @@ import json
|
||||
|
||||
with open('karabiner.yaml') as in_f:
|
||||
with open('karabiner.json', 'w') as out_f:
|
||||
json.dump(yaml.load(in_f), out_f, indent=4)
|
||||
json.dump(yaml.load(in_f, Loader=yaml.SafeLoader), out_f, indent=4)
|
||||
|
Loading…
Reference in New Issue
Block a user