优化操作逻辑
This commit is contained in:
parent
cd47994617
commit
819d54e5d7
@ -56,7 +56,7 @@ class DrEngine(object):
|
|||||||
setting['working'] = self.working
|
setting['working'] = self.working
|
||||||
with open(self.settingFileName, 'w') as f:
|
with open(self.settingFileName, 'w') as f:
|
||||||
try:
|
try:
|
||||||
str = json.dumps(setting)
|
str = json.dumps(setting, indent=2)
|
||||||
f.write(str)
|
f.write(str)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user