From 803a33efdedb7e202642c6a8040fcd4c21371558 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 26 Nov 2015 15:07:16 +0000 Subject: [PATCH] [GTKUI] Ensure drag-n-drop urlparsed path is unicode --- deluge/ui/gtkui/ipcinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/ipcinterface.py b/deluge/ui/gtkui/ipcinterface.py index d94ed9bd6..ca0ad76f4 100644 --- a/deluge/ui/gtkui/ipcinterface.py +++ b/deluge/ui/gtkui/ipcinterface.py @@ -199,7 +199,7 @@ def process_args(args): log.debug("Attempting to add file (%s) from external source...", arg) if urlparse(arg).scheme == "file": arg = url2pathname(urlparse(arg).path) - path = os.path.abspath(arg) + path = os.path.abspath(deluge.common.decode_string(arg)) if not os.path.exists(path): log.error("No such file: %s", path)