fix & test a migration

This commit is contained in:
jonaswinkler
2020-12-19 21:52:58 +01:00
parent e79c45c98d
commit 3f94fc2618
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)