mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Fri Oct 6 22:17:53 EEST 2023
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
66e9fc1958
commit
6651d9e103
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ def yn(prompt: str, default: str = "y") -> bool:
|
||||||
|
|
||||||
|
|
||||||
def get_tmpfile(name: str) -> str:
|
def get_tmpfile(name: str) -> str:
|
||||||
return f"{tempfile.gettempdir()}{name}.md"
|
return f"{tempfile.gettempdir()}/{name}.md"
|
||||||
|
|
||||||
|
|
||||||
def open_file(editor: typing.Sequence[str], path: str) -> None:
|
def open_file(editor: typing.Sequence[str], path: str) -> None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue