diff --git a/vn.trader/dataRecorder/drEngine.py b/vn.trader/dataRecorder/drEngine.py index bd296e89..8d209504 100644 --- a/vn.trader/dataRecorder/drEngine.py +++ b/vn.trader/dataRecorder/drEngine.py @@ -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