mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 18:31:07 +03:00
Fix update fail when icons are missing
Introduced yesterday, I believe.
This commit is contained in:
parent
b848b99bab
commit
0bd5be2ea3
1 changed files with 2 additions and 1 deletions
|
@ -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('lastupdated', time.strftime('%Y-%m-%d', app['lastupdated']), doc, apel)
|
||||||
addElement('name', app['Name'], doc, apel)
|
addElement('name', app['Name'], doc, apel)
|
||||||
addElement('summary', app['Summary'], 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):
|
def linkres(appid):
|
||||||
if appid in apps:
|
if appid in apps:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue