elisemercury / Duplicate-Image-Finder

difPy - Python package for finding duplicate and similar images
https://difpy.readthedocs.io
MIT License
466 stars 67 forks source link

Path handling improvements #13

Closed tme-MetaSwitch closed 2 years ago

tme-MetaSwitch commented 2 years ago

Looking at the code, I see that paths are often joined using "+" and that path separators are assumed to be '/' are put in as literal text. I needed to put some workarounds in my calling code (on Windows 11) to handle this. It would be more portable and maintainable to use os.path.join() and other portable path handling functions.

Just a suggestion, not a request.

elisemercury commented 2 years ago

Hi tme-MetaSwitch

Thanks a lot for your input! This improvement has been considered with the new release v2.2.

All the best, Elise