kivy / plyer

Plyer is a platform-independent Python wrapper for platform-dependent APIs
https://plyer.readthedocs.io
MIT License
1.56k stars 424 forks source link

Normalize path when passing args to windows filechooser #795

Open Xnot opened 6 months ago

Xnot commented 6 months ago

This changes the Win32FileChooser to apply os.path.normpath to the path parameter before passing it on to pywin32. This allows the filechooser's path parameter to work properly without the end-user having to normalize the path first.