mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
code cleanup
This commit is contained in:
parent
198a301884
commit
779157c4d5
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user