From 901f5a84bf049117583d94f5a5edc323d6057dfb Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 23 Nov 2012 01:29:37 +0000 Subject: [PATCH] Fix #2208 : Win32 Open Folder not working with non-ascii paths --- deluge/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/common.py b/deluge/common.py index 29c37e858..cfab4f890 100644 --- a/deluge/common.py +++ b/deluge/common.py @@ -240,7 +240,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: