mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 18:31:07 +03:00
update bombs out when no icons (closes #402)
This commit is contained in:
parent
230d8971ba
commit
505d2c1325
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue