mirror of
https://github.com/Denvi/FlatCAM.git
synced 2026-03-19 06:37:18 +01:00
Merged in realthunder/flatcam/json_pretty (pull request #42)
Added indent to json in save_project
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user