mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	bugfix for tika parser
This commit is contained in:
		@@ -34,7 +34,10 @@ def handle_document(document_id):
 | 
			
		||||
    parser = parser_class(logging_group=uuid.uuid4())
 | 
			
		||||
 | 
			
		||||
    try:
 | 
			
		||||
        parser.parse(document.source_path, mime_type)
 | 
			
		||||
        parser.parse(
 | 
			
		||||
            document.source_path,
 | 
			
		||||
            mime_type,
 | 
			
		||||
            document.get_public_filename())
 | 
			
		||||
 | 
			
		||||
        if parser.get_archive_path():
 | 
			
		||||
            with transaction.atomic():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user