Merged in realthunder/flatcam/json_pretty (pull request #42)

Added indent to json in save_project
This commit is contained in:
jpcgt
2016-06-11 19:27:35 -04:00

View File

@@ -4124,7 +4124,7 @@ class App(QtCore.QObject):
return
# Write
json.dump(d, f, default=to_dict)
json.dump(d, f, default=to_dict, indent=2, sort_keys=True)
# try:
# json.dump(d, f, default=to_dict)
# except Exception, e: