mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	Add support for rtf
Signed-off-by: Jo Vandeginste <Jo.Vandeginste@kuleuven.be>
This commit is contained in:
		
							parent
							
								
									9e1f9d6d9d
								
							
						
					
					
						commit
						ec0af59596
					
				@ -1,4 +1,3 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
def get_parser(*args, **kwargs):
 | 
					def get_parser(*args, **kwargs):
 | 
				
			||||||
    from .parsers import TikaDocumentParser
 | 
					    from .parsers import TikaDocumentParser
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -20,5 +19,6 @@ def tika_consumer_declaration(sender, **kwargs):
 | 
				
			|||||||
            "application/vnd.oasis.opendocument.presentation": ".odp",
 | 
					            "application/vnd.oasis.opendocument.presentation": ".odp",
 | 
				
			||||||
            "application/vnd.oasis.opendocument.spreadsheet": ".ods",
 | 
					            "application/vnd.oasis.opendocument.spreadsheet": ".ods",
 | 
				
			||||||
            "application/vnd.oasis.opendocument.text": ".odt",
 | 
					            "application/vnd.oasis.opendocument.text": ".odt",
 | 
				
			||||||
 | 
					            "text/rtf": ".rtf",
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user