Use splitlines() instead of split('\n')
This commit is contained in:
parent
4e86318340
commit
2d5a84a23b
@ -92,7 +92,7 @@ for apk in glob(GLOB_APK_STR):
|
||||
# Run 'aapt d permissions' on APK
|
||||
aapt_output = subprocess.check_output(AAPT_CMD + [apk],
|
||||
stderr=subprocess.STDOUT).decode(encoding='UTF-8')
|
||||
lines = aapt_output.split('\n')
|
||||
lines = aapt_output.splitlines()
|
||||
# Extract package name from the output
|
||||
# Output looks like:
|
||||
# package: my.package.name
|
||||
|
Loading…
Reference in New Issue
Block a user