markusressel/py-image-dedup

Empty folders are not deleted

markusressel opened this issue · 0 comments

Describe the bug
Empty folders are not deleted

To Reproduce
Steps to reproduce the behavior:

  1. Place a copy of an image in two folders side by side
  2. Run a deduplication
  3. See error

Expected behavior
One of the folders should be removed, because it is completely empty after the deduplication process is done and the deduplication process removed an image from this folder.

Desktop (please complete the following information):

  • OS: Linux