Fix #475 the use of unicode paths when adding torrents
This commit is contained in:
parent
6ecf9125e6
commit
5e41c7ce78
@ -315,7 +315,7 @@ class TorrentManager(component.Component):
|
|||||||
storage_mode = lt.storage_mode_t(1)
|
storage_mode = lt.storage_mode_t(1)
|
||||||
|
|
||||||
# Fill in the rest of the add_torrent_params dictionary
|
# 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["storage_mode"] = storage_mode
|
||||||
add_torrent_params["paused"] = True
|
add_torrent_params["paused"] = True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user