mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-16 00:50:28 -05:00
Close client
This commit is contained in:
parent
26abcf5612
commit
f400a8cb2f
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user