mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 01:57:08 +01:00
Fixes minor depracation I noticed
This commit is contained in:
parent
a88b318d7d
commit
efaa1c4dd7
2 changed files with 6 additions and 4 deletions
|
|
@ -447,7 +447,7 @@ def update_filename_and_move_files(sender, instance, **kwargs):
|
|||
)
|
||||
|
||||
except (OSError, DatabaseError, CannotMoveFilesException) as e:
|
||||
logger.warn(f"Exception during file handling: {e}")
|
||||
logger.warning(f"Exception during file handling: {e}")
|
||||
# This happens when either:
|
||||
# - moving the files failed due to file system errors
|
||||
# - saving to the database failed due to database errors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue