From ca3308dd18e0c41c641f487247e81e71cbcb2f0a Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 8 Apr 2022 16:26:40 -0400 Subject: [PATCH] pass_typer: Use pathlib.Path instead of pathlib.PosixPath --- .config/i3/pass_typer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/i3/pass_typer.py b/.config/i3/pass_typer.py index 901a7b8..576d201 100755 --- a/.config/i3/pass_typer.py +++ b/.config/i3/pass_typer.py @@ -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")