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:
2c80083
)
update: do not crash on APKs without icons when using androguard
author
Hans-Christoph Steiner
<hans@eds.org>
Tue, 13 Mar 2018 10:19:19 +0000
(11:19 +0100)
committer
Hans-Christoph Steiner
<hans@eds.org>
Tue, 13 Mar 2018 10:19:19 +0000
(11:19 +0100)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index 7203fbcc2a360d9f2ecb6dc1a730d96cbd7acd9b..fa2ba8d145dbd73f7cacdd009704b1ee62f919c2 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-1095,7
+1095,7
@@
def _get_apk_icons_src(apkfile, icon_name):
else:
density = '160'
icons_src[density] = m.group(0)
- if icons_src.get('-1') is None:
+ if icons_src.get('-1') is None
and '160' in icons_src
:
icons_src['-1'] = icons_src['160']
return icons_src