Fix #2208 : Win32 Open Folder not working with non-ascii paths
This commit is contained in:
parent
8ffa80c2a2
commit
901f5a84bf
|
@ -240,7 +240,7 @@ def open_file(path):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if windows_check():
|
if windows_check():
|
||||||
os.startfile("%s" % path)
|
os.startfile(path.decode("utf8"))
|
||||||
elif osx_check():
|
elif osx_check():
|
||||||
subprocess.Popen(["open", "%s" % path])
|
subprocess.Popen(["open", "%s" % path])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue