Added indent to json in save_project
This is to make the saved project file more version control frendly
This commit is contained in:
parent
ee8e9f8f4b
commit
856d126546
@ -4124,7 +4124,7 @@ class App(QtCore.QObject):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Write
|
# Write
|
||||||
json.dump(d, f, default=to_dict)
|
json.dump(d, f, default=to_dict, indent=2, sort_keys=True)
|
||||||
# try:
|
# try:
|
||||||
# json.dump(d, f, default=to_dict)
|
# json.dump(d, f, default=to_dict)
|
||||||
# except Exception, e:
|
# except Exception, e:
|
||||||
|
Loading…
Reference in New Issue
Block a user