mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 01:26:47 +01:00
codestyle
This commit is contained in:
parent
93b81ef6e9
commit
727f86c369
9 changed files with 8 additions and 19 deletions
|
|
@ -86,7 +86,7 @@ def generate_filename(document):
|
|||
added_day=document.added.day if document.added else "none",
|
||||
tags=tags,
|
||||
)
|
||||
except (ValueError, KeyError, IndexError) as e:
|
||||
except (ValueError, KeyError, IndexError):
|
||||
logging.getLogger(__name__).warning("Invalid PAPERLESS_FILENAME_FORMAT: {}, falling back to default,".format(settings.PAPERLESS_FILENAME_FORMAT))
|
||||
|
||||
# Always append the primary key to guarantee uniqueness of filename
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue