mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
update: pass resourceIds through if they can't be deferenced
People do odd tricks with `aapt --rename-manifest-package` and androguard doesn't handle them all. * https://github.com/androguard/androguard/issues/503
This commit is contained in:
parent
0e0a5019ab
commit
4352aa2792
1 changed files with 1 additions and 1 deletions
|
@ -2009,7 +2009,7 @@ def ensure_final_value(packageName, arsc, value):
|
|||
res_id = int('0x' + value[1:], 16)
|
||||
res_id = arsc.get_id(packageName, res_id)[1]
|
||||
returnValue = arsc.get_string(packageName, res_id)[1]
|
||||
except ValueError:
|
||||
except (ValueError, TypeError):
|
||||
pass
|
||||
return returnValue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue