mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	code style
This commit is contained in:
		@@ -190,6 +190,7 @@ def make_thumbnail_from_pdf(in_path, temp_dir, logging_group=None):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    return out_path
 | 
					    return out_path
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def parse_date(filename, text):
 | 
					def parse_date(filename, text):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    Returns the date of the document.
 | 
					    Returns the date of the document.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,12 +7,12 @@ def tika_consumer_declaration(sender, **kwargs):
 | 
				
			|||||||
        "weight": 10,
 | 
					        "weight": 10,
 | 
				
			||||||
        "mime_types": {
 | 
					        "mime_types": {
 | 
				
			||||||
            "application/msword": ".doc",
 | 
					            "application/msword": ".doc",
 | 
				
			||||||
            "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ".docx",
 | 
					            "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ".docx",  # NOQA: E501
 | 
				
			||||||
            "application/vnd.ms-excel": ".xls",
 | 
					            "application/vnd.ms-excel": ".xls",
 | 
				
			||||||
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ".xlsx",
 | 
					            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ".xlsx",  # NOQA: E501
 | 
				
			||||||
            "application/vnd.ms-powerpoint": ".ppt",
 | 
					            "application/vnd.ms-powerpoint": ".ppt",
 | 
				
			||||||
            "application/vnd.openxmlformats-officedocument.presentationml.presentation": ".pptx",
 | 
					            "application/vnd.openxmlformats-officedocument.presentationml.presentation": ".pptx",  # NOQA: E501
 | 
				
			||||||
            "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ".ppsx",
 | 
					            "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ".ppsx",  # NOQA: E501
 | 
				
			||||||
            "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",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user