From 3f407dc65c549e068b705c585e0293777164c946 Mon Sep 17 00:00:00 2001 From: dzil123 <5725958+dzil123@users.noreply.github.com> Date: Thu, 3 Nov 2022 01:15:56 -0700 Subject: [PATCH] (3.x) Fix compilation with custom "GODOT_VERSION_STATUS" --- methods.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/methods.py b/methods.py index 49b4ab28325..38454d61d69 100644 --- a/methods.py +++ b/methods.py @@ -92,7 +92,9 @@ def get_version_info(module_version_string="", silent=False): version_info["status"] = str(os.getenv("GODOT_VERSION_STATUS")) if not silent: print( - "Using version status '{}', overriding the original '{}'.".format(version_info.status, version.status) + "Using version status '{}', overriding the original '{}'.".format( + version_info["status"], version.status + ) ) # Parse Git hash if we're in a Git repo.