update @ Mon 14 Mar 23:26:48 EET 2022

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-03-14 23:26:48 +02:00
parent a53937483d
commit 740ab98e62
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2
2 changed files with 1 additions and 2 deletions

View file

@ -56,4 +56,4 @@
"keywords": "pi pi-day piday math einstein 3.14159 \u03c0 website blog opinion article ari-web ari" "keywords": "pi pi-day piday math einstein 3.14159 \u03c0 website blog opinion article ari-web ari"
} }
} }
} }

View file

@ -406,7 +406,6 @@ def edit_title(blog: str, config: Dict) -> int:
old_blog: dict = config["blogs"][blog].copy() old_blog: dict = config["blogs"][blog].copy()
old_blog["title"] = b64encode(new_title.encode()).decode() old_blog["title"] = b64encode(new_title.encode()).decode()
del config["blogs"][blog] del config["blogs"][blog]
config["blogs"][sanitise_title(new_title, config["blogs"])] = old_blog config["blogs"][sanitise_title(new_title, config["blogs"])] = old_blog