mirror of
https://github.com/logos-storage/deluge.git
synced 2026-01-07 15:43:10 +00:00
Fix #2208 : Win32 Open Folder not working with non-ascii paths
This commit is contained in:
parent
88223fc058
commit
b8deea5c76
@ -231,7 +231,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…
x
Reference in New Issue
Block a user