Skip to content

Commit

Permalink
Fixed ndk version check when no version found
Browse files Browse the repository at this point in the history
  • Loading branch information
inclement committed Jan 31, 2019
1 parent 6fc1303 commit b4f8bdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pythonforandroid/recommendations.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def read_ndk_version(ndk_dir):
else:
info('Could not parse $NDK_DIR/source.properties, not checking '
'NDK version')
return

# Line should have the form "Pkg.Revision = ..."
ndk_version = LooseVersion(line.split('=')[-1].strip())
Expand Down

0 comments on commit b4f8bdd

Please sign in to comment.