diff --git a/src/paperless_remote/parsers.py b/src/paperless_remote/parsers.py index b5f92295e..964049edb 100644 --- a/src/paperless_remote/parsers.py +++ b/src/paperless_remote/parsers.py @@ -100,6 +100,7 @@ class RemoteDocumentParser(RasterisedDocumentParser): ): f.write(chunk) + client.close() return result.content def parse(self, document_path: Path, mime_type, file_name=None):