mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-06 01:11:07 +03:00
update: do not crash on APKs without icons when using androguard
This commit is contained in:
parent
2c8008356b
commit
e89478e529
1 changed files with 1 additions and 1 deletions
|
@ -1095,7 +1095,7 @@ def _get_apk_icons_src(apkfile, icon_name):
|
||||||
else:
|
else:
|
||||||
density = '160'
|
density = '160'
|
||||||
icons_src[density] = m.group(0)
|
icons_src[density] = m.group(0)
|
||||||
if icons_src.get('-1') is None:
|
if icons_src.get('-1') is None and '160' in icons_src:
|
||||||
icons_src['-1'] = icons_src['160']
|
icons_src['-1'] = icons_src['160']
|
||||||
return icons_src
|
return icons_src
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue