Skip to content

Commit 752592e

Browse files
committed
fix: manually expand "~"
1 parent e7f123e commit 752592e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tagstudio/src/core/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def evaluate_path(self, open_path: str | None) -> LibraryStatus:
1616
"""Check if the path of library is valid."""
1717
library_path: Path | None = None
1818
if open_path:
19-
library_path = Path(open_path)
19+
library_path = Path(open_path).expanduser()
2020
if not library_path.exists():
2121
logger.error("Path does not exist.", open_path=open_path)
2222
return LibraryStatus(success=False, message="Path does not exist.")

0 commit comments

Comments
 (0)