Skip to content

Commit 7e72059

Browse files
ramboShyamQt
authored andcommitted
handle the case of getting list as res_xml
1 parent 31cbc2e commit 7e72059

File tree

1 file changed

+3
-0
lines changed
  • pythonforandroid/bootstraps/common/build

1 file changed

+3
-0
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,9 @@ def _read_configuration():
911911
if args.permissions and isinstance(args.permissions[0], list):
912912
args.permissions = [p for perm in args.permissions for p in perm]
913913

914+
if args.res_xmls and isinstance(args.res_xmls[0], list):
915+
args.res_xmls = [x for res in args.res_xmls for x in res]
916+
914917
if args.try_system_python_compile:
915918
# Hardcoding python2.7 is okay for now, as python3 skips the
916919
# compilation anyway

0 commit comments

Comments
 (0)