From 7196ceeb34f7904a4b9015495b3604f41904abf5 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Thu, 2 Jan 2025 11:58:47 -0800 Subject: [PATCH] umu_proton: create var --- umu/umu_proton.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umu/umu_proton.py b/umu/umu_proton.py index b4ad0606a..68845fea5 100644 --- a/umu/umu_proton.py +++ b/umu/umu_proton.py @@ -517,7 +517,8 @@ def _get_delta( with vdf.open(encoding="utf-8") as file: # We're up to date if the internal tool is the GH asset name w/o suffix # Ignore. See https://github.com/python/mypy/issues/12682 - if any(filter(lambda line: build in line, file)): # type: ignore + is_updated: bool = any(filter(lambda line: build in line, file)) # type: ignore + if is_updated: log.info("%s is up to date", version) os.environ["PROTONPATH"] = str(umu_compat.joinpath(version)) env["PROTONPATH"] = os.environ["PROTONPATH"]