This commit is contained in:
parent
3d053d532a
commit
d9eb99b72e
9 changed files with 71 additions and 28 deletions
|
|
@ -14,9 +14,7 @@ def resolve_path(path: Path) -> Path:
|
|||
Returns:
|
||||
Path: The resolved path
|
||||
"""
|
||||
path = Path("~/.config/halig/halig.yml").expanduser()
|
||||
|
||||
return path
|
||||
return Path(os.path.expandvars(path)).expanduser().resolve()
|
||||
|
||||
|
||||
def get_template_data(path: Path) -> str | None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue