pass_typer: Use pathlib.Path instead of pathlib.PosixPath
This commit is contained in:
parent
fc3432112e
commit
ca3308dd18
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user