mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Thu 26 May 22:06:22 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
6b7801ab5b
commit
533b7d5e7f
1 changed files with 2 additions and 1 deletions
|
@ -182,7 +182,7 @@ def pick_blog(config: Dict) -> str:
|
|||
.prompt(
|
||||
map(
|
||||
lambda key: f"{key} | {b64decode(config['blogs'][key]['title']).decode()!r}",
|
||||
config["blogs"].keys(),
|
||||
tuple(config["blogs"].keys())[::-1],
|
||||
),
|
||||
"--prompt='Pick blog: '",
|
||||
)[0]
|
||||
|
@ -471,6 +471,7 @@ def edit_minimise(blog: str, config: Dict) -> int:
|
|||
|
||||
|
||||
EDIT_HOOKS: Dict = {
|
||||
"quit": lambda *_: EXIT_OK,
|
||||
"title": edit_title,
|
||||
"keywords": edit_keywords,
|
||||
"content": edit_content,
|
||||
|
|
Loading…
Add table
Reference in a new issue