Browse Source

Fix compilation with custom "GODOT_VERSION_STATUS"

Björn Feber 2 years ago
parent
commit
d4dba877d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      methods.py

+ 1 - 1
methods.py

@@ -105,7 +105,7 @@ def get_version_info(module_version_string="", silent=False):
     if os.getenv("GODOT_VERSION_STATUS") != None:
     if os.getenv("GODOT_VERSION_STATUS") != None:
         version_info["status"] = str(os.getenv("GODOT_VERSION_STATUS"))
         version_info["status"] = str(os.getenv("GODOT_VERSION_STATUS"))
         if not silent:
         if not silent:
-            print(f"Using version status '{version_info.status}', overriding the original '{version.status}'.")
+            print(f"Using version status '{version_info['status']}', overriding the original '{version.status}'.")
 
 
     # Parse Git hash if we're in a Git repo.
     # Parse Git hash if we're in a Git repo.
     githash = ""
     githash = ""