mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	use archived file for thumbnail, if available
This commit is contained in:
		| @@ -53,7 +53,9 @@ class RasterisedDocumentParser(DocumentParser): | ||||
|  | ||||
|     def get_thumbnail(self, document_path, mime_type, file_name=None): | ||||
|         return make_thumbnail_from_pdf( | ||||
|             document_path, self.tempdir, self.logging_group) | ||||
|             self.archive_path or document_path, | ||||
|             self.tempdir, | ||||
|             self.logging_group) | ||||
|  | ||||
|     def is_image(self, mime_type): | ||||
|         return mime_type in [ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler