mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fix: always use source_filename attribute when accessing a file
This commit is contained in:
parent
40ed29d45b
commit
64b598a192
@ -436,7 +436,7 @@ def update_filename(sender, instance, **kwargs):
|
||||
instance.create_source_directory()
|
||||
|
||||
# Determine the full "current" path
|
||||
path_current = instance.filename_to_path(instance.filename)
|
||||
path_current = instance.filename_to_path(instance.source_filename)
|
||||
|
||||
# Move file
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user