Skip to content

Commit 36ed235

Browse files
committed
Made buildozer args fixing work for other commands
1 parent e366423 commit 36ed235

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pythonforandroid/toolchain.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ def __init__(self):
217217
# This fix will be removed once a fixed buildozer is released
218218
if (len(argv) > 2 and
219219
argv[1].startswith('--color') and
220-
argv[2].startswith('--storage-dir') and
221-
argv[3] == 'apk'):
220+
argv[2].startswith('--storage-dir')):
222221
argv.append(argv.pop(1)) # the --color arg
223222
argv.append(argv.pop(1)) # the --storage-dir arg
224223

0 commit comments

Comments
 (0)