mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	Fix importing files with non-ascii names (#2555)
This commit is contained in:
		
							parent
							
								
									dace08d4e3
								
							
						
					
					
						commit
						dae4550bc3
					
				@ -90,7 +90,7 @@ class TikaDocumentParser(DocumentParser):
 | 
				
			|||||||
        with open(document_path, "rb") as document_handle:
 | 
					        with open(document_path, "rb") as document_handle:
 | 
				
			||||||
            files = {
 | 
					            files = {
 | 
				
			||||||
                "files": (
 | 
					                "files": (
 | 
				
			||||||
                    file_name or os.path.basename(document_path),
 | 
					                    "convert" + os.path.splitext(document_path)[-1],
 | 
				
			||||||
                    document_handle,
 | 
					                    document_handle,
 | 
				
			||||||
                ),
 | 
					                ),
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user