chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b848b99
)
Fix update fail when icons are missing
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 29 Jun 2015 09:17:59 +0000
(11:17 +0200)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 29 Jun 2015 09:17:59 +0000
(11:17 +0200)
Introduced yesterday, I believe.
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index de586c5794192d9ef5d451ccef16e269f0860466..5afa87585145a59611ac1089d0508c2024d0366f 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-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: