From 132ef4c5c586cf89829c54da688c4105f790873b Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Mon, 20 May 2024 19:37:27 -0700 Subject: [PATCH] umu_util: refer to variable for path --- umu/umu_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umu/umu_util.py b/umu/umu_util.py index 99c1f33a0..91ce49bae 100644 --- a/umu/umu_util.py +++ b/umu/umu_util.py @@ -185,7 +185,7 @@ def _install_umu(root: Path, local: Path, json: dict[str, Any]) -> None: # Ensure the config file is writable for the owner after copied # See https://github.com/Open-Wine-Components/umu-launcher/issues/106 - if not access(local.joinpath(CONFIG), W_OK): + if not access(json_local, W_OK): json_local.chmod(json_local.stat().st_mode | S_IWUSR) # Runtime platform