mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[Core] Retain magnet details when loading state
It is useful to keep the magnet uri even with the torrent_info. When adding the torrent magnet details are only used if torrent_info is not available.
This commit is contained in:
parent
f93e5e60b5
commit
34b0fdff1d
1 changed files with 0 additions and 2 deletions
|
@ -762,8 +762,6 @@ class TorrentManager(component.Component):
|
|||
torrent_info = self.get_torrent_info_from_file(
|
||||
os.path.join(self.state_dir, t_state.torrent_id + '.torrent'),
|
||||
)
|
||||
if torrent_info:
|
||||
magnet = None
|
||||
|
||||
try:
|
||||
d = self.add_async(
|
||||
|
|
Loading…
Add table
Reference in a new issue