Skip to content

Commit cf53b67

Browse files
authored
fix: expand user path from args (#90)
1 parent 8558af3 commit cf53b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

waybar_crypto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def parse_args() -> Args:
359359
def main():
360360
args = parse_args()
361361

362-
config_path = args["config_path"]
362+
config_path = os.path.expanduser(args["config_path"])
363363
if not os.path.isfile(config_path):
364364
raise WaybarCryptoException(f"configuration file not found at '{config_path}'")
365365

0 commit comments

Comments
 (0)