mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 02:30:44 -06:00
fix: make directory before trying to write to it
This commit is contained in:
parent
a78624c26e
commit
d6158137f2
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,7 @@ from typing import (
|
|||
from urllib.error import HTTPError
|
||||
from urllib.request import urlopen
|
||||
|
||||
__version__ = "23.8a1-1-g0547fd6-dev"
|
||||
__version__ = "23.8a1-3-ga78624c-dev"
|
||||
|
||||
|
||||
class Spinner:
|
||||
|
@ -1270,6 +1270,7 @@ class Viv:
|
|||
cli.unlink()
|
||||
cli.symlink_to(src)
|
||||
else:
|
||||
cli.parent.mkdir(exist_ok=True, parents=True)
|
||||
cli.symlink_to(src)
|
||||
|
||||
log.info("Remember to include the following line in your shell rc file:")
|
||||
|
|
Loading…
Reference in a new issue