mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #30758 from jandrewlong/fix-android-detect
fix detecting ndk platform
This commit is contained in:
commit
0a502efc3a
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ def get_ndk_version(path):
|
||||||
try:
|
try:
|
||||||
with open(prop_file_path) as prop_file:
|
with open(prop_file_path) as prop_file:
|
||||||
for line in prop_file:
|
for line in prop_file:
|
||||||
key_value = map(lambda x: string.strip(x), line.split("="))
|
key_value = list(map(lambda x: x.strip(), line.split("=")))
|
||||||
if key_value[0] == "Pkg.Revision":
|
if key_value[0] == "Pkg.Revision":
|
||||||
return key_value[1]
|
return key_value[1]
|
||||||
except:
|
except:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue