mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	todo note
This commit is contained in:
		@@ -230,6 +230,7 @@ class Document(models.Model):
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
    def file_type(self):
 | 
			
		||||
        # TODO: this is not stable across python versions
 | 
			
		||||
        return mimetypes.guess_extension(str(self.mime_type))
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user