Fix custom path check logic

This commit is contained in:
kramo
2023-05-27 17:53:08 +02:00
parent c045ad1f53
commit 63951d76ac
5 changed files with 12 additions and 9 deletions

View File

@@ -34,6 +34,7 @@ def bottles_installed(path=None):
(path,)
if path
else (
Path(shared.schema.get_string(location_key)).expanduser(),
Path.home() / ".var/app/com.usebottles.bottles/data/bottles",
shared.data_dir / "bottles",
)