From 0f1f5529bafacc2d4aa9432509fc9da65cadcffa Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 17 Aug 2008 22:40:59 +0000 Subject: [PATCH] fix open folder/file in windows --- deluge/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/common.py b/deluge/common.py index ccd03a373..282fc2f17 100644 --- a/deluge/common.py +++ b/deluge/common.py @@ -141,7 +141,7 @@ def get_logo(size): def open_file(path): """Opens a file or folder.""" if windows_check(): - os.startfile("'%s'" % path) + os.startfile("%s" % path) else: subprocess.Popen(["xdg-open", "%s" % path])