1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Fix update fail when icons are missing

Introduced yesterday, I believe.
This commit is contained in:
Ciaran Gultnieks 2015-06-29 11:17:59 +02:00
parent b848b99bab
commit 0bd5be2ea3

View File

@ -800,7 +800,8 @@ def make_index(apps, sortedids, apks, repodir, archive, categories):
addElement('lastupdated', time.strftime('%Y-%m-%d', app['lastupdated']), doc, apel)
addElement('name', app['Name'], doc, apel)
addElement('summary', app['Summary'], doc, apel)
addElement('icon', app['icon'], doc, apel)
if app['icon']:
addElement('icon', app['icon'], doc, apel)
def linkres(appid):
if appid in apps: