From 7612942d29f9d2e23a8c061b9ceb60d723e148dd Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 22 Apr 2021 11:31:04 +0800 Subject: [PATCH] add newline --- src/pacroller/update-merge-config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pacroller/update-merge-config.py b/src/pacroller/update-merge-config.py index 2a36a2b..d5a807f 100644 --- a/src/pacroller/update-merge-config.py +++ b/src/pacroller/update-merge-config.py @@ -42,7 +42,7 @@ def main() -> None: print(f"new value {k}[{_o}] = {v[_o]}") 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") if __name__ == '__main__':