From cf53b67243a35ad118ad12d1efc97839ce1a8fdf Mon Sep 17 00:00:00 2001 From: Ross <9055337+chadsr@users.noreply.github.com> Date: Mon, 27 May 2024 20:02:13 +0200 Subject: [PATCH] fix: expand user path from args (#90) --- waybar_crypto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waybar_crypto.py b/waybar_crypto.py index ad2bd71..b391ee6 100755 --- a/waybar_crypto.py +++ b/waybar_crypto.py @@ -359,7 +359,7 @@ def parse_args() -> Args: def main(): args = parse_args() - config_path = args["config_path"] + config_path = os.path.expanduser(args["config_path"]) if not os.path.isfile(config_path): raise WaybarCryptoException(f"configuration file not found at '{config_path}'")