add newline

This commit is contained in:
JerryXiao 2021-04-22 11:31:04 +08:00
parent d78ab79dbd
commit 7612942d29
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5

View file

@ -42,7 +42,7 @@ def main() -> None:
print(f"new value {k}[{_o}] = {v[_o]}") print(f"new value {k}[{_o}] = {v[_o]}")
oldcfg.rename(CONFIG_DIR / f"{CONFIG_FILE}.pacsave") oldcfg.rename(CONFIG_DIR / f"{CONFIG_FILE}.pacsave")
oldcfg.write_text(json.dumps(new_copy, indent=4)) oldcfg.write_text(json.dumps(new_copy, indent=4)+"\n")
print("wrote new config") print("wrote new config")
if __name__ == '__main__': if __name__ == '__main__':