mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
FileType does not care about the extension anymore.
This commit is contained in:
parent
41650f20f4
commit
3d5b66c2b7
4 changed files with 118 additions and 164 deletions
|
|
@ -197,7 +197,7 @@ class Consumer(LoggingMixin):
|
|||
|
||||
# If someone gave us the original filename, use it instead of doc.
|
||||
|
||||
file_info = FileInfo.from_path(self.filename)
|
||||
file_info = FileInfo.from_filename(self.filename)
|
||||
|
||||
stats = os.stat(self.path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue