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:
4eb5fa8
)
Add an encoding parameter to open apkcache created with Py2
author
Dmitriy Bogdanov
<di72nn@gmail.com>
Fri, 8 Apr 2016 18:09:49 +0000
(22:09 +0400)
committer
Dmitriy Bogdanov
<di72nn@gmail.com>
Tue, 12 Apr 2016 08:42:41 +0000
(12:42 +0400)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index 0e0aef68458ee100841929b6e1cad2c7f5f9d07b..df2b71a47a2b9e8ba76ab4cb67223aac8bbf35e2 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-1208,7
+1208,7
@@
def main():
apkcachefile = os.path.join('tmp', 'apkcache')
if not options.clean and os.path.exists(apkcachefile):
with open(apkcachefile, 'rb') as cf:
- apkcache = pickle.load(cf)
+ apkcache = pickle.load(cf
, encoding='utf-8'
)
else:
apkcache = {}