GnuPG for archive file.

This commit is contained in:
Jonas Winkler
2020-11-25 20:16:27 +01:00
parent f51d2be303
commit 6f30ceea38
3 changed files with 9 additions and 6 deletions

View File

@@ -194,7 +194,7 @@ class Consumer(LoggingMixin):
thumbnail, document.thumbnail_path)
if archive_path and os.path.isfile(archive_path):
self._write(Document.STORAGE_TYPE_UNENCRYPTED,
self._write(document.storage_type,
archive_path, document.archive_path)
# Delete the file only if it was successfully consumed