Skip to content

Commit 21d929c

Browse files
committed
android_api to integer
1 parent 8bed427 commit 21d929c

File tree

1 file changed

+1
-1
lines changed
  • pythonforandroid/bootstraps/common/build

1 file changed

+1
-1
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def make_package(args):
497497
# Find the SDK directory and target API
498498
with open('project.properties', 'r') as fileh:
499499
target = fileh.read().strip()
500-
android_api = target.split('-')[1]
500+
android_api = int(target.split('-')[1])
501501
try:
502502
int(android_api)
503503
except (ValueError, TypeError):

0 commit comments

Comments
 (0)