update json formatting for ui settings
This commit is contained in:
parent
eb87f56ede
commit
1d8c9eaf12
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class pdict(dict):
|
||||||
def _save(self):
|
def _save(self):
|
||||||
if self._path:
|
if self._path:
|
||||||
with open(self._path, 'w') as fd:
|
with open(self._path, 'w') as fd:
|
||||||
json.dump(self, fd, indent=1)
|
json.dump(self, fd, indent=4, sort_keys=True)
|
||||||
|
|
||||||
def get(self, key, default=None):
|
def get(self, key, default=None):
|
||||||
if default == None and self._defaults:
|
if default == None and self._defaults:
|
||||||
|
|
Loading…
Reference in a new issue