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:
c679b5b
)
update: fix crash from missing file extension in extracted icon
author
Hans-Christoph Steiner
<hans@eds.org>
Tue, 20 Feb 2018 14:45:27 +0000
(15:45 +0100)
committer
Hans-Christoph Steiner
<hans@eds.org>
Tue, 20 Feb 2018 15:29:52 +0000
(16:29 +0100)
I missed this in
40fac10ebcd95095741a243ff621b67335cf9e5b
, yay tests!
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index fc945670ae1f07fe72cc0682fd9a0144359bc190..511129822569ec43676af7b47895d7d5500f920b 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-1516,9
+1516,9
@@
def extract_apk_icons(icon_filename, apk, apkzip, repo_dir):
if density in apk['icons']:
break
if density == screen_densities[-1] or dpi >= int(density):
- apk['icons'][density] = icon_filename
+ apk['icons'][density] = icon_filename
+ icon_type
shutil.move(icon_path,
- os.path.join(get_icon_dir(repo_dir, density), icon_filename))
+ os.path.join(get_icon_dir(repo_dir, density), icon_filename
+ icon_type
))
empty_densities.remove(density)
break
except Exception as e: