|
@ -764,7 +764,7 @@ def merge_json_files(old_json_path, new_json_path, out_file_path): |
|
|
json_object = json.dumps(data_old, indent=4) |
|
|
json_object = json.dumps(data_old, indent=4) |
|
|
with open(out_file_path, "w") as outfile: |
|
|
with open(out_file_path, "w") as outfile: |
|
|
outfile.write(json_object) |
|
|
outfile.write(json_object) |
|
|
|
|
|
return True, out_file_path |
|
|
except Exception as es: |
|
|
except Exception as es: |
|
|
frappe.log_error("Merge JSON:",frappe.get_traceback()) |
|
|
frappe.log_error("Merge JSON:",frappe.get_traceback()) |
|
|
|
|
|
|
|
|