BookLore
BookLore copied to clipboard
Deleting books via webapp leaves empty directories
Deleting books via webapp leaves empty directories.
This is inconvenient for me, but not a huge deal.
Should we add a check that if a file is the last in a directory, it'll remove the directory?
Actually, I was thinking about the same, removing the parent folder if it’s empty after deleting a book. But I need to be cautious to avoid accidentally deleting the library root folder. I’ll explore this further and try to implement the changes safely.