mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 04:54:23 +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():
|
||||
os.startfile("%s" % path)
|
||||
os.startfile(path.decode("utf8"))
|
||||
elif osx_check():
|
||||
subprocess.Popen(["open", "%s" % path])
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user