mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Update src/documents/models.py
Co-Authored-By: Pit <pitkley@googlemail.com>
This commit is contained in:
parent
d8fda64cd0
commit
534eb7de91
@ -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…
x
Reference in New Issue
Block a user