mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-24 02:11:06 +00:00
Fix rechecking torrents
This commit is contained in:
parent
9313975ba5
commit
a06b241056
@ -452,14 +452,14 @@ class TorrentManager(component.Component):
|
||||
# Add the torrent to the lt session
|
||||
|
||||
# Create the torrent parameters struct for the torrent's options
|
||||
t_params = lt.add_torrent_params()
|
||||
t_params = {}
|
||||
|
||||
t_params.ti = lt.torrent_info(torrent_info)
|
||||
t_params.save_path = str(torrent.save_path)
|
||||
t_params.storage_mode = storage_mode
|
||||
t_params.paused = paused
|
||||
t_params.auto_managed = False
|
||||
t_params.duplicate_is_error = True
|
||||
t_params["ti"] = lt.torrent_info(torrent_info)
|
||||
t_params["save_path"] = str(torrent.save_path)
|
||||
t_params["storage_mode"] = storage_mode
|
||||
t_params["paused"] = paused
|
||||
t_params["auto_managed"] = False
|
||||
t_params["duplicate_is_error"] = True
|
||||
|
||||
try:
|
||||
handle = self.session.add_torrent(t_params)
|
||||
|
Loading…
x
Reference in New Issue
Block a user