mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-06 11:00:13 +02:00
update bombs out when no icons (closes #402)
This commit is contained in:
parent
230d8971ba
commit
505d2c1325
@ -1625,7 +1625,7 @@ def move_apk_between_sections(from_dir, to_dir, apk):
|
||||
for density in all_screen_densities:
|
||||
from_icon_dir = get_icon_dir(from_dir, density)
|
||||
to_icon_dir = get_icon_dir(to_dir, density)
|
||||
if density not in apk['icons']:
|
||||
if density not in apk.get('icons', []):
|
||||
continue
|
||||
_move_file(from_icon_dir, to_icon_dir, apk['icons'][density], True)
|
||||
if 'srcname' in apk:
|
||||
|
Loading…
Reference in New Issue
Block a user