mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
Update src/documents/models.py
Co-Authored-By: Pit <pitkley@googlemail.com>
This commit is contained in:
parent
d8fda64cd0
commit
534eb7de91
1 changed files with 1 additions and 1 deletions
|
|
@ -413,7 +413,7 @@ def try_delete_empty_directories(directory):
|
|||
return
|
||||
|
||||
# Cut off actual directory and go one level up
|
||||
directory, tmp = os.path.split(directory)
|
||||
directory, _ = os.path.split(directory)
|
||||
|
||||
|
||||
@receiver(models.signals.m2m_changed, sender=Document.tags.through)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue