fix & test a migration

This commit is contained in:
jonaswinkler
2020-12-19 21:52:58 +01:00
parent 0902f464b6
commit fe616c2c5c
2 changed files with 130 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ from paperless.db import GnuPG
STORAGE_TYPE_UNENCRYPTED = "unencrypted"
STORAGE_TYPE_GPG = "gpg"
def source_path(self):
if self.filename:
fname = str(self.filename)