Fix update fail when icons are missing

Introduced yesterday, I believe.
This commit is contained in:
Ciaran Gultnieks committed 2015-06-29 11:17:59 +02:00
1 parent b848b99bab
commit 0bd5be2ea3
1 file changed
+2 -1
+2 -1
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: