blob: 828f41efc06e255e66fd523973d26c8b0ac9921a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env python3
from __future__ import annotations
import json
import sys
for fn in sys.argv[1:]:
with open(fn, "r") as fd:
jq = json.load(fd)
jq["approved"] = True
json.dump(fd, jq, indent="\t")
|