pretty preset config files

This commit is contained in:
sezanzeb 2020-11-21 15:12:03 +01:00 committed by sezanzeb
parent 7870c6d83e
commit 855db4a008

View File

@ -137,7 +137,8 @@ class Mapping:
shutil.chown(path, os.getlogin())
with open(path, 'w') as f:
json.dump(self._mapping, f)
json.dump(self._mapping, f, indent=4)
f.write('\n')
self.changed = False