From 5e41c7ce78e2a451cec490d6347028d9681b76d9 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 14 Sep 2008 20:08:19 +0000 Subject: [PATCH] Fix #475 the use of unicode paths when adding torrents --- deluge/core/torrentmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 34ca9cf98..2042cf9f3 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -315,7 +315,7 @@ class TorrentManager(component.Component): storage_mode = lt.storage_mode_t(1) # Fill in the rest of the add_torrent_params dictionary - add_torrent_params["save_path"] = str(options["download_location"]) + add_torrent_params["save_path"] = options["download_location"].encode("utf8") add_torrent_params["storage_mode"] = storage_mode add_torrent_params["paused"] = True