mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
code cleanup
This commit is contained in:
parent
b7fec4d355
commit
529cc04fd1
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue