Explorar el Código

Fix build for Python versions <3.9 (#855)

Co-authored-by: Andrei Fominykh <afominykh@topcon.com>
fominykhandrei hace 4 años
padre
commit
9fc7fe7f32
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/meta.py

+ 1 - 1
scripts/meta.py

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