Skip to content

Commit 214047f

Browse files
committed
handle the case of getting list as res_xml
1 parent 8350dfd commit 214047f

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
@@ -837,6 +837,9 @@ def _read_configuration():
837837
if args.permissions and isinstance(args.permissions[0], list):
838838
args.permissions = [p for perm in args.permissions for p in perm]
839839

840+
if args.res_xmls and isinstance(args.res_xmls[0], list):
841+
args.res_xmls = [x for res in args.res_xmls for x in res]
842+
840843
if args.try_system_python_compile:
841844
# Hardcoding python2.7 is okay for now, as python3 skips the
842845
# compilation anyway

0 commit comments

Comments
 (0)