mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Update src/documents/models.py
Co-Authored-By: Pit <pitkley@googlemail.com>
This commit is contained in:
parent
7391f5c1a2
commit
bbcfba2405
@ -413,7 +413,7 @@ def try_delete_empty_directories(directory):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Cut off actual directory and go one level up
|
# 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)
|
@receiver(models.signals.m2m_changed, sender=Document.tags.through)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user