Skip to content

Commit

Permalink
Fix b' embedded in the path string for Windows' choose_dir()
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyWeeUsr committed Oct 14, 2018
1 parent e95cac0 commit 04cbd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plyer/platforms/win/filechooser.py
Expand Up @@ -96,7 +96,7 @@ def run(self):
self.title if self.title else "Pick a folder...",
0, None, None
)
self.selection = [str(get_path(pidl))]
self.selection = [str(get_path(pidl).decode('utf-8'))]

return self.selection
except (RuntimeError, pywintypes.error):
Expand Down

0 comments on commit 04cbd9c

Please sign in to comment.