Fix build for Python versions <3.9 (#855)
Co-authored-by: Andrei Fominykh <afominykh@topcon.com>
This commit is contained in:
parent
6f56b8d61d
commit
9fc7fe7f32
@ -49,7 +49,7 @@ class Main(App):
|
|||||||
for path in self.args.input[0]:
|
for path in self.args.input[0]:
|
||||||
with open(path, mode="r") as file:
|
with open(path, mode="r") as file:
|
||||||
dict = json.loads(file.read())
|
dict = json.loads(file.read())
|
||||||
full |= dict
|
full.update(dict)
|
||||||
|
|
||||||
print(json.dumps(full, indent=4))
|
print(json.dumps(full, indent=4))
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user