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 8ffa80c2a2
commit 901f5a84bf
1 changed files with 1 additions and 1 deletions

View File

@ -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: