Fix #2208 : Win32 Open Folder not working with non-ascii paths

This commit is contained in:
Calum Lind 2012-11-23 01:29:37 +00:00
parent 88223fc058
commit b8deea5c76

View File

@ -231,7 +231,7 @@ def open_file(path):
"""
if windows_check():
os.startfile("%s" % path)
os.startfile(path.decode("utf8"))
elif osx_check():
subprocess.Popen(["open", "%s" % path])
else: