mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
todo note
This commit is contained in:
parent
a4bd2d687e
commit
6b3ec52ed4
1 changed files with 1 additions and 0 deletions
|
|
@ -230,6 +230,7 @@ class Document(models.Model):
|
|||
|
||||
@property
|
||||
def file_type(self):
|
||||
# TODO: this is not stable across python versions
|
||||
return mimetypes.guess_extension(str(self.mime_type))
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue