mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
Some more kivy wip
This commit is contained in:
parent
1390704c91
commit
53781f913b
5 changed files with 24 additions and 5 deletions
|
@ -467,11 +467,15 @@ def make_index(apps, apks, repodir, archive, categories):
|
|||
repoel = doc.createElement("repo")
|
||||
if archive:
|
||||
repoel.setAttribute("name", config['archive_name'])
|
||||
if config['repo_maxage'] != 0:
|
||||
repoel.setAttribute("maxage", str(config['repo_maxage']))
|
||||
repoel.setAttribute("icon", os.path.basename(config['archive_icon']))
|
||||
repoel.setAttribute("url", config['archive_url'])
|
||||
addElement('description', config['archive_description'], doc, repoel)
|
||||
else:
|
||||
repoel.setAttribute("name", config['repo_name'])
|
||||
if config['repo_maxage'] != 0:
|
||||
repoel.setAttribute("maxage", str(config['repo_maxage']))
|
||||
repoel.setAttribute("icon", os.path.basename(config['repo_icon']))
|
||||
repoel.setAttribute("url", config['repo_url'])
|
||||
addElement('description', config['repo_description'], doc, repoel)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue