mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 08:15:27 +01:00
more tests
This commit is contained in:
parent
7e0aa7136a
commit
b787983e42
4 changed files with 15 additions and 10 deletions
|
|
@ -221,7 +221,7 @@ class Document(models.Model):
|
|||
else:
|
||||
fname = "{:07}{}".format(self.pk, self.file_type)
|
||||
if self.storage_type == self.STORAGE_TYPE_GPG:
|
||||
fname += ".gpg"
|
||||
fname += ".gpg" # pragma: no cover
|
||||
|
||||
return os.path.join(
|
||||
settings.ORIGINALS_DIR,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue