From 819d54e5d7370471b0d6c9b554f2a98071f7f05c Mon Sep 17 00:00:00 2001 From: "ares89@wind" Date: Fri, 10 Feb 2017 13:47:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=93=8D=E4=BD=9C=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vn.trader/dataRecorder/drEngine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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