mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-18 03:25:52 +00:00
pretty preset config files
This commit is contained in:
parent
7870c6d83e
commit
855db4a008
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user