mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Fixes minor depracation I noticed
This commit is contained in:

committed by
Trenton H

parent
3d42db7505
commit
f0773b9807
@@ -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
|
||||
|
Reference in New Issue
Block a user