mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 21:52:51 +00:00
Fixed Android NDK unified header detection for python 3
This commit is contained in:
parent
32bc42690c
commit
064189c693
@ -277,7 +277,7 @@ def get_ndk_version(path):
|
||||
try:
|
||||
with open(prop_file_path) as 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":
|
||||
return key_value[1]
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user