mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	code cleanup
This commit is contained in:
		| @@ -269,6 +269,7 @@ class Log(models.Model): | |||||||
|     def __str__(self): |     def __str__(self): | ||||||
|         return self.message |         return self.message | ||||||
|  |  | ||||||
|  |  | ||||||
| # TODO: why is this in the models file? | # TODO: why is this in the models file? | ||||||
| class FileInfo: | class FileInfo: | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,6 +6,7 @@ from django.test import TestCase | |||||||
|  |  | ||||||
| from documents.parsers import get_parser_class | from documents.parsers import get_parser_class | ||||||
|  |  | ||||||
|  |  | ||||||
| def fake_magic_from_file(file, mime=False): | def fake_magic_from_file(file, mime=False): | ||||||
|  |  | ||||||
|     if mime: |     if mime: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jonas Winkler
					Jonas Winkler