indent=4 config.json
This commit is contained in:
parent
c623fa1f0b
commit
3be6b29d81
|
@ -348,7 +348,7 @@ class Options:
|
||||||
|
|
||||||
def save(self, filename):
|
def save(self, filename):
|
||||||
with open(filename, "w", encoding="utf8") as file:
|
with open(filename, "w", encoding="utf8") as file:
|
||||||
json.dump(self.data, file)
|
json.dump(self.data, file, indent=4)
|
||||||
|
|
||||||
def same_type(self, x, y):
|
def same_type(self, x, y):
|
||||||
if x is None or y is None:
|
if x is None or y is None:
|
||||||
|
|
Loading…
Reference in New Issue