From b8deea5c76fa75d0806e529d0cc1296371d140c3 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 ea615df20..73c89daa5 100644 --- a/deluge/common.py +++ b/deluge/common.py @@ -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: