Fix build for Python versions <3.9 (#855)

Co-authored-by: Andrei Fominykh <afominykh@topcon.com>
This commit is contained in:
fominykhandrei 2021-11-30 20:46:54 +03:00 committed by GitHub
parent 6f56b8d61d
commit 9fc7fe7f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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