Skip to content

Commit 41c307f

Browse files
committed
dist.ndk_api: actually default to None, instead of 0
1 parent c9c43fe commit 41c307f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def get_distributions(cls, ctx, extra_dist_dirs=[]):
193193
if 'ndk_api' in dist_info:
194194
dist.ndk_api = dist_info['ndk_api']
195195
else:
196-
dist.ndk_api = 0
196+
dist.ndk_api = None
197197
warning(
198198
"Distribution {distname}: (distdir) has been "
199199
"built with an unknown api target, ignoring it, "

0 commit comments

Comments
 (0)