[GTKUI] Ensure drag-n-drop urlparsed path is unicode

This commit is contained in:
Calum Lind 2015-11-26 15:07:16 +00:00
parent 227863faf7
commit 803a33efde
1 changed files with 1 additions and 1 deletions

View File

@ -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)