Skip to content

Commit

Permalink
dist.ndk_api: actually default to None, instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
tshirtman committed Nov 27, 2018
1 parent 0ed749d commit 01b617d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythonforandroid/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def get_distributions(cls, ctx, extra_dist_dirs=[]):
if 'ndk_api' in dist_info:
dist.ndk_api = dist_info['ndk_api']
else:
dist.ndk_api = 0
dist.ndk_api = None
warning(
"Distribution {distname}: (distdir) has been "
"built with an unknown api target, ignoring it, "
Expand Down

0 comments on commit 01b617d

Please sign in to comment.