mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 18:31:07 +03:00
Add an encoding parameter to open apkcache created with Py2
This commit is contained in:
parent
4eb5fa88be
commit
3f75c95e5f
1 changed files with 1 additions and 1 deletions
|
@ -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 = {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue