Legendsmith / Simple-Image-Sorter

Sorts images into destination files. Written in python.
17 stars 1 forks source link

Overwrites images of same name in dest #13

Open FraidOfWater opened 3 weeks ago

FraidOfWater commented 3 weeks ago

The program currently overwrites images with the same name. Regards "Move and moveall" from sortimages_multiview.py. Example: "test.png" in source and "test.png" in dest, the one in source will overwrite the one in dest, deleting it. Just a fair warning for any users. We should check whether an image with that name already exists in destination before moving. We could do temp = os.path.join(destpath, self.name.get()) if os.path.exists(temp): return ("") before me move the picture to cancel the move.

FraidOfWater commented 1 week ago

Made a pull request to fix it.