Added indent to json in save_project

This is to make the saved project file more version control frendly
This commit is contained in:
Zheng, Lei 2016-06-09 15:55:17 +08:00
parent ee8e9f8f4b
commit 856d126546

View File

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