diff --git a/plyer/platforms/win/filechooser.py b/plyer/platforms/win/filechooser.py index 9bf6ece4..839cfc3d 100644 --- a/plyer/platforms/win/filechooser.py +++ b/plyer/platforms/win/filechooser.py @@ -12,7 +12,7 @@ import win32gui import win32con import pywintypes -from os.path import dirname, splitext, join, isdir +from os.path import dirname, splitext, join, isdir, normpath class Win32FileChooser: @@ -66,6 +66,7 @@ def run(self): args = {} if self.path: + self.path = normpath(self.path) if isdir(self.path): args["InitialDir"] = self.path else: