mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-07 01:41:06 +03:00
only set 'No description available' in the old index format
The new index format aims to be a direct representation of the data, then the clients/website will handle the rest.
This commit is contained in:
parent
1bc0ec27c0
commit
3afd6ca684
2 changed files with 5 additions and 4 deletions
|
@ -1159,8 +1159,12 @@ def make_index(apps, sortedids, apks, repodir, archive):
|
|||
return ("fdroid.app:" + appid, apps[appid].Name)
|
||||
raise MetaDataException("Cannot resolve app id " + appid)
|
||||
|
||||
if app.get('Description'):
|
||||
description = app.Description
|
||||
else:
|
||||
description = 'No description available'
|
||||
addElement('desc',
|
||||
metadata.description_html(app.Description, linkres),
|
||||
metadata.description_html(description, linkres),
|
||||
doc, apel)
|
||||
addElement('license', app.License, doc, apel)
|
||||
if app.Categories:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue