diff --git a/src/common/helpers.py b/src/common/helpers.py index e155f8b58..220a296f9 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -1470,6 +1470,7 @@ def _get_img_direct(attrs): alt += '\n' alt += _('Image is too big') break + f.close() return (mem, alt) def _get_img_proxy(attrs, proxy):