mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
update: close unclosed Image instance
This commit is contained in:
parent
387eebc4d6
commit
8f45796ecb
1 changed files with 2 additions and 0 deletions
|
|
@ -1487,6 +1487,8 @@ def extract_apk_icons(icon_filename, apk, apkzip, repo_dir):
|
|||
except Exception as e:
|
||||
logging.warning(_("Failed reading {path}: {error}")
|
||||
.format(path=icon_path, error=e))
|
||||
finally:
|
||||
im.close()
|
||||
|
||||
if apk['icons']:
|
||||
apk['icon'] = icon_filename
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue