Fix #475 the use of unicode paths when adding torrents

This commit is contained in:
Andrew Resch 2008-09-14 20:08:19 +00:00
parent b246457b91
commit 95e40aa64b
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ Deluge 0.9.09 - "1.0.0_RC9" (10 September 2008)
have 'announce' in it's url.
* Fix fastresume issue causing loss of data by deleting the fastresume file
before writing a new one
* Fix #475 the use of unicode paths when adding torrents
GtkUI:
* Fix add torrent dialog closing preventing another dialog from being shown

View file

@ -316,7 +316,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