mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-18 13:58:12 +00:00
a couple fixes and more supported image files
This commit is contained in:
1 parent
5e1543bad5
commit
e3ce573fbb
8 files changed
+41
-4
No files matched your search
@@ -268,8 +268,9 @@ def update_filename_and_move_files(sender, instance, **kwargs):
|
||||
logging.getLogger(__name__).debug(
|
||||
f"Moved file {old_source_path} to {new_source_path}.")
|
||||
|
||||
logging.getLogger(__name__).debug(
|
||||
f"Moved file {old_archive_path} to {new_archive_path}.")
|
||||
if instance.archive_checksum:
|
||||
logging.getLogger(__name__).debug(
|
||||
f"Moved file {old_archive_path} to {new_archive_path}.")
|
||||
|
||||
except OSError as e:
|
||||
instance.filename = old_filename
|
||||
|
||||
Reference in new issue
Block a user