mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-19 13:06:46 +01:00
more tests.
This commit is contained in:
parent
6454df57bf
commit
db0f7649d1
8 changed files with 111 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ class Command(BaseCommand):
|
|||
f"Abort: encrypted file {document.source_path} does not "
|
||||
f"end with .gpg")
|
||||
|
||||
document.filename = os.path.splitext(document.source_path)[0]
|
||||
document.filename = os.path.splitext(document.filename)[0]
|
||||
|
||||
with open(document.source_path, "wb") as f:
|
||||
f.write(raw_document)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue