deploy-ng: fix an exception when all icon images could not be read

This commit is contained in:
rdb 2019-08-28 22:56:11 +02:00
parent 833f778cb7
commit 28d9a33db4

View File

@ -344,6 +344,7 @@ class Icon:
if required_size * 2 in sizes:
from_size = required_size * 2
else:
from_size = 0
for from_size in sizes:
if from_size > required_size:
break