mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05: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 | ||||
|  | ||||
|  | ||||
| def parse_date(filename, text): | ||||
|     """ | ||||
|     Returns the date of the document. | ||||
|   | ||||
| @@ -7,12 +7,12 @@ def tika_consumer_declaration(sender, **kwargs): | ||||
|         "weight": 10, | ||||
|         "mime_types": { | ||||
|             "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.openxmlformats-officedocument.spreadsheetml.sheet": ".xlsx", | ||||
|             "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ".xlsx",  # NOQA: E501 | ||||
|             "application/vnd.ms-powerpoint": ".ppt", | ||||
|             "application/vnd.openxmlformats-officedocument.presentationml.presentation": ".pptx", | ||||
|             "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ".ppsx", | ||||
|             "application/vnd.openxmlformats-officedocument.presentationml.presentation": ".pptx",  # NOQA: E501 | ||||
|             "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ".ppsx",  # NOQA: E501 | ||||
|             "application/vnd.oasis.opendocument.presentation": ".odp", | ||||
|             "application/vnd.oasis.opendocument.spreadsheet": ".ods", | ||||
|             "application/vnd.oasis.opendocument.text": ".odt", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler