mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-14 21:45:37 -05:00
Close client
This commit is contained in:
@@ -100,6 +100,7 @@ class RemoteDocumentParser(RasterisedDocumentParser):
|
|||||||
):
|
):
|
||||||
f.write(chunk)
|
f.write(chunk)
|
||||||
|
|
||||||
|
client.close()
|
||||||
return result.content
|
return result.content
|
||||||
|
|
||||||
def parse(self, document_path: Path, mime_type, file_name=None):
|
def parse(self, document_path: Path, mime_type, file_name=None):
|
||||||
|
Reference in New Issue
Block a user