chiark / gitweb /
m.images: properly close images opened with PIL.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 3 Jan 2022 00:39:35 +0000 (01:39 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 3 Jan 2022 01:36:44 +0000 (02:36 +0100)
commitd92004aac506dcca85795b1e50f349d22a1361a4
tree8858494d82a295dfe645a15222334f367539c0bf
parentb1d5d7bb13daae030a20a97c6ab0ee682abec30d
m.images: properly close images opened with PIL.

Python 3.10 yells at me if I don't. Useful warning. (Ahah, C++ and your
sane scoping rules, I miss you.)
plugins/m/images.py