Update bdistapk.py

This commit is contained in:
g1tman 2019-10-31 16:17:54 +05:30 committed by GitHub
parent 00f31d5067
commit 631ca5e847
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ class BdistAPK(Command):
exit(1)
if len(main_py_dirs) > 1:
print('WARNING: Multiple main.py dirs found, using the shortest path')
main_py_dirs = sorted(main_py_dirs, key=lambda j: len(split(j)))
main_py_dirs.sort(key=lambda j: len(split(j)))
if not argv_contains('--launcher'):
sys.argv.append('--private={}'.format(
@ -145,4 +145,4 @@ def _set_user_options():
BdistAPK.user_options = user_options
_set_user_options()
_set_user_options()