From 6e32937654a4dfdfa9c28032df8c07e8b7f63529 Mon Sep 17 00:00:00 2001 From: Julian-o Date: Sat, 29 Jul 2023 09:56:42 +1000 Subject: [PATCH] Correct check for --sdk option --- pythonforandroid/bootstraps/common/build/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonforandroid/bootstraps/common/build/build.py b/pythonforandroid/bootstraps/common/build/build.py index 3aaf51d009..0f5ab5d2a2 100644 --- a/pythonforandroid/bootstraps/common/build/build.py +++ b/pythonforandroid/bootstraps/common/build/build.py @@ -1006,7 +1006,7 @@ def _read_configuration(): print('Billing not yet supported!') sys.exit(1) - if args.sdk_version == -1: + if args.sdk_version != -1: print('WARNING: Received a --sdk argument, but this argument is ' 'deprecated and does nothing.') args.sdk_version = -1 # ensure it is not used