Browse Source

Add tabs in default config file

Giuseppe Guerra 1 year ago
parent
commit
3687b2cd12
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      objects/config.py

+ 1
- 1
objects/config.py View File

@@ -37,7 +37,7 @@ class Config:
37 37
 
38 38
 	def write_default(self):
39 39
 		with open(self.file_name, "w") as f:
40
-			f.write(json.dumps(self.default_config))
40
+			f.write(json.dumps(self.default_config, sort_keys=True, indent=4))
41 41
 
42 42
 	def check(self):
43 43
 		def shape(d):

Loading…
Cancel
Save