more tests.

This commit is contained in:
jonaswinkler
2020-11-26 23:56:57 +01:00
parent 9627a91654
commit f49bf187eb
8 changed files with 111 additions and 2 deletions

View File

@@ -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)