From 740ab98e62a14b96d460e03a83b4234d9ddf7576 Mon Sep 17 00:00:00 2001 From: Ari Archer Date: Mon, 14 Mar 2022 23:26:48 +0200 Subject: [PATCH] update @ Mon 14 Mar 23:26:48 EET 2022 Signed-off-by: Ari Archer --- blog.json | 2 +- scripts/blog | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/blog.json b/blog.json index 7373335..4c1e23d 100644 --- a/blog.json +++ b/blog.json @@ -56,4 +56,4 @@ "keywords": "pi pi-day piday math einstein 3.14159 \u03c0 website blog opinion article ari-web ari" } } -} +} \ No newline at end of file diff --git a/scripts/blog b/scripts/blog index 734587c..0946e5a 100755 --- a/scripts/blog +++ b/scripts/blog @@ -406,7 +406,6 @@ def edit_title(blog: str, config: Dict) -> int: old_blog: dict = config["blogs"][blog].copy() old_blog["title"] = b64encode(new_title.encode()).decode() - del config["blogs"][blog] config["blogs"][sanitise_title(new_title, config["blogs"])] = old_blog