pretty preset config files

This commit is contained in:
sezanzeb 2020-11-21 15:12:03 +01:00
parent aa8a1b4f3f
commit 1f83b7a09f

View File

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