优化操作逻辑

This commit is contained in:
ares89@wind 2017-02-10 13:47:32 +08:00
parent cd47994617
commit 819d54e5d7

View File

@ -56,7 +56,7 @@ class DrEngine(object):
setting['working'] = self.working
with open(self.settingFileName, 'w') as f:
try:
str = json.dumps(setting)
str = json.dumps(setting, indent=2)
f.write(str)
except:
pass