elisemercury / Duplicate-Image-Finder

difPy - Python package for finding duplicate or similar images within folders
https://difpy.readthedocs.io
MIT License
421 stars 65 forks source link

Ctrl-C doens't work #32

Closed TheLastGimbus closed 1 year ago

TheLastGimbus commented 1 year ago

Hi! I launched my python script by accident and couldn't close it because Ctrl-C doesn't work while difPy is running :/

elisemercury commented 1 year ago

Hi @TheLastGimbus, Thanks for your feedback! Indeed, this is an issue that I have also experienced myself and I am working on having this resolved with the next version of difPy! Again, thanks so much for your feedback. All the best, Elise

TheLastGimbus commented 1 year ago

~~Hmm.. yeah... I think giving it a path with the folder name included would be good 👍~~ Sorry i mixed up issues 😅

elisemercury commented 1 year ago

Hi @TheLastGimbus, I added manual handling of KeyboardInterrupt in the new release v2.4.2, and after doing some testing from my side, the issue seems resolved. Nevertheless, sometimes it still requires you to click CTRL-C multiple times so that the interruption is catched. Again thanks and all the best, Elise

TheLastGimbus commented 1 year ago

Whoa, thanks!