mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Save 'owner' and 'public' to the torrent state
This commit is contained in:
parent
fdbd9e6687
commit
bf715d90fd
1 changed files with 4 additions and 2 deletions
|
@ -85,7 +85,7 @@ class TorrentState:
|
||||||
move_completed_path=None,
|
move_completed_path=None,
|
||||||
magnet=None,
|
magnet=None,
|
||||||
time_added=-1,
|
time_added=-1,
|
||||||
owner=None,
|
owner="",
|
||||||
public=False
|
public=False
|
||||||
):
|
):
|
||||||
self.torrent_id = torrent_id
|
self.torrent_id = torrent_id
|
||||||
|
@ -642,7 +642,9 @@ class TorrentManager(component.Component):
|
||||||
torrent.options["move_completed"],
|
torrent.options["move_completed"],
|
||||||
torrent.options["move_completed_path"],
|
torrent.options["move_completed_path"],
|
||||||
torrent.magnet,
|
torrent.magnet,
|
||||||
torrent.time_added
|
torrent.time_added,
|
||||||
|
torrent.owner,
|
||||||
|
torrent.options["public"]
|
||||||
)
|
)
|
||||||
state.torrents.append(torrent_state)
|
state.torrents.append(torrent_state)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue