pass_typer: Use pathlib.Path instead of pathlib.PosixPath

This commit is contained in:
Adam Goldsmith 2022-04-08 16:26:40 -04:00
parent fc3432112e
commit ca3308dd18

View File

@ -5,10 +5,10 @@ import re
import subprocess
from functools import partial
from itertools import chain
from pathlib import PosixPath
from pathlib import Path
PASSWORD_STORE = PosixPath(
os.environ.get("PASSWORD_STORE_DIR", PosixPath("~/.password-store").expanduser())
PASSWORD_STORE = Path(
os.environ.get("PASSWORD_STORE_DIR", Path("~/.password-store").expanduser())
)
cmd = partial(subprocess.run, capture_output=True, encoding="ascii")